mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-09 14:14:39 +02:00
avformat/img2enc: re enable atomic writes with split planes
They work now after fixing the implementation Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
eaa6bade37
commit
232b8a5a43
@ -75,10 +75,6 @@ static int write_header(AVFormatContext *s)
|
|||||||
|
|
||||||
img->use_rename = proto && !strcmp(proto, "file");
|
img->use_rename = proto && !strcmp(proto, "file");
|
||||||
|
|
||||||
//The current atomic rename implementation is not compatible with split planes
|
|
||||||
if (img->split_planes)
|
|
||||||
img->use_rename = 0;
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user