You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
fftools/ffmpeg: do not return finished streams from choose_output()
This commit is contained in:
@@ -3493,7 +3493,7 @@ static OutputStream *choose_output(void)
|
|||||||
ost->initialized, ost->inputs_done, ost->finished);
|
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;
|
return ost->unavailable ? NULL : ost;
|
||||||
|
|
||||||
if (!ost->finished && opts < opts_min) {
|
if (!ost->finished && opts < opts_min) {
|
||||||
|
Reference in New Issue
Block a user