diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-08-28 00:07:22 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-09-23 09:50:09 +0200 |
commit | 231e50157cc9a7a8b08ba3d0e566279fc6cbb800 (patch) | |
tree | ec04d590c371575edfa6635f2f41d0112cc7e296 /libavfilter/vf_overlay.c | |
parent | 53319d5c932867bcc84798622dd171b5c19165f0 (diff) | |
download | ffmpeg-231e50157cc9a7a8b08ba3d0e566279fc6cbb800.tar.gz |
lavfi/dualinput: reimplement on top of framesync.
Diffstat (limited to 'libavfilter/vf_overlay.c')
-rw-r--r-- | libavfilter/vf_overlay.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 0c2722d82f..c3f1c2edb2 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -309,6 +309,11 @@ static int config_input_overlay(AVFilterLink *inlink) static int config_output(AVFilterLink *outlink) { AVFilterContext *ctx = outlink->src; + OverlayContext *s = ctx->priv; + int ret; + + if ((ret = ff_dualinput_init(ctx, &s->dinput)) < 0) + return ret; outlink->w = ctx->inputs[MAIN]->w; outlink->h = ctx->inputs[MAIN]->h; |