Commit 65e73bc6 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Anton Khirnov

vf_interlace: implement frame rate

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from ffmpeg commit 227b4458)
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 018bdaed
......@@ -109,8 +109,10 @@ static int config_out_props(AVFilterLink *outlink)
outlink->w = inlink->w;
outlink->h = inlink->h;
outlink->time_base = inlink->time_base;
outlink->frame_rate = inlink->frame_rate;
// half framerate
outlink->time_base.num *= 2;
outlink->frame_rate.den *= 2;
if (s->lowpass) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment