forked from FFmpeg/FFmpeg
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue