mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fftools/ffmpeg: do not fail on AVERROR(EAGAIN) from choose_output()
This is not an error condition, but would be treated like one if the program terminates on the next transcode loop iteration because of a signal or keyboard input. Fixes #10504 Tested-by: https://github.com/0Ky
This commit is contained in:
parent
a8d9da4c8b
commit
ced62a0c01
@ -1196,6 +1196,7 @@ static int transcode(int *err_rate_exceeded)
|
||||
if (ret == AVERROR(EAGAIN)) {
|
||||
reset_eagain();
|
||||
av_usleep(10000);
|
||||
ret = 0;
|
||||
continue;
|
||||
} else if (ret < 0) {
|
||||
av_log(NULL, AV_LOG_VERBOSE, "No more output streams to write to, finishing.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user