lavfi/dualinput: fix shortest option.

Fix trac ticket #3315.
(cherry picked from commit 2dc5980d61)
This commit is contained in:
Nicolas George 2014-01-18 00:34:17 +01:00 committed by Carl Eugen Hoyos
parent 30a94f1159
commit fc5261c219

View File

@ -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;