Skip to content
Snippets Groups Projects
Commit 65e73bc6 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Anton Khirnov
Browse files

vf_interlace: implement frame rate


Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
(cherry picked from ffmpeg commit 227b4458)
Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 018bdaed
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment