[FFmpeg-cvslog] lavfi/dualinput: fix shortest option.
Nicolas George
git at videolan.org
Sun Jan 19 17:56:57 CET 2014
ffmpeg | branch: master | Nicolas George <george at nsup.org> | Sat Jan 18 00:34:17 2014 +0100| [2dc5980d61493e05ccb04271a685fe804d87b155] | committer: Nicolas George
lavfi/dualinput: fix shortest option.
Fix trac ticket #3315.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2dc5980d61493e05ccb04271a685fe804d87b155
---
libavfilter/dualinput.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/dualinput.c b/libavfilter/dualinput.c
index 97e15cb..88f7a27 100644
--- a/libavfilter/dualinput.c
+++ b/libavfilter/dualinput.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list