mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/dualinput: fix shortest option.
Fix trac ticket #3315.
(cherry picked from commit 2dc5980d61
)
This commit is contained in:
parent
30a94f1159
commit
fc5261c219
|
@ -57,7 +57,7 @@ int ff_dualinput_init(AVFilterContext *ctx, FFDualInputContext *s)
|
|||
in[1].after = EXT_INFINITY;
|
||||
|
||||
if (s->shortest)
|
||||
in[1].after = EXT_STOP;
|
||||
in[0].after = in[1].after = EXT_STOP;
|
||||
if (!s->repeatlast) {
|
||||
in[0].after = EXT_STOP;
|
||||
in[1].sync = 0;
|
||||
|
|
Loading…
Reference in New Issue