Fix invalid output frame rate when settb is used before zoompan to set it. Signed-off-by: Nicolas George <geo...@nsup.org> --- libavfilter/vf_zoompan.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/libavfilter/vf_zoompan.c b/libavfilter/vf_zoompan.c index f55095f..1c97eb6 100644 --- a/libavfilter/vf_zoompan.c +++ b/libavfilter/vf_zoompan.c @@ -116,6 +116,9 @@ static int config_output(AVFilterLink *outlink) outlink->w = s->w; outlink->h = s->h; + /* TODO: make it an option */ + outlink->time_base = ctx->inputs[0]->time_base; + outlink->frame_rate = av_inv_q(outlink->time_base); return 0; } -- 2.1.3 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel