diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-25 00:22:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-06-26 01:01:28 +0200 |
commit | f1dabc958e09978abdd71d3b7f1e05c742e54ab2 (patch) | |
tree | f82ce6f0ea12033f902477bb4e1988baeececfca /libavfilter/dualinput.c | |
parent | 9981b70da50f0bf70e04af7697e1c06d143c43f6 (diff) | |
download | ffmpeg-f1dabc958e09978abdd71d3b7f1e05c742e54ab2.tar.gz |
avfilter/dualinput: Add support to skip initial unpaired frames
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavfilter/dualinput.c')
-rw-r--r-- | libavfilter/dualinput.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/dualinput.c b/libavfilter/dualinput.c index 1a078a25e4..44750973a6 100644 --- a/libavfilter/dualinput.c +++ b/libavfilter/dualinput.c @@ -66,6 +66,9 @@ int ff_dualinput_init(AVFilterContext *ctx, FFDualInputContext *s) in[1].after = EXT_NULL; in[1].sync = 0; } + if (s->skip_initial_unpaired) { + in[1].before = EXT_STOP; + } return ff_framesync_configure(&s->fs); } |