mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
fftools/ffmpeg: do not return finished streams from choose_output()
This commit is contained in:
parent
416e2661ea
commit
e1d12aaa45
@ -3493,7 +3493,7 @@ static OutputStream *choose_output(void)
|
||||
ost->initialized, ost->inputs_done, ost->finished);
|
||||
}
|
||||
|
||||
if (!ost->initialized && !ost->inputs_done)
|
||||
if (!ost->initialized && !ost->inputs_done && !ost->finished)
|
||||
return ost->unavailable ? NULL : ost;
|
||||
|
||||
if (!ost->finished && opts < opts_min) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user