You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vf_interlace: implement frame rate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from ffmpeg commit 227b4458fb
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
committed by
Anton Khirnov
parent
018bdaed37
commit
65e73bc60f
@@ -109,8 +109,10 @@ static int config_out_props(AVFilterLink *outlink)
|
|||||||
outlink->w = inlink->w;
|
outlink->w = inlink->w;
|
||||||
outlink->h = inlink->h;
|
outlink->h = inlink->h;
|
||||||
outlink->time_base = inlink->time_base;
|
outlink->time_base = inlink->time_base;
|
||||||
|
outlink->frame_rate = inlink->frame_rate;
|
||||||
// half framerate
|
// half framerate
|
||||||
outlink->time_base.num *= 2;
|
outlink->time_base.num *= 2;
|
||||||
|
outlink->frame_rate.den *= 2;
|
||||||
|
|
||||||
|
|
||||||
if (s->lowpass) {
|
if (s->lowpass) {
|
||||||
|
Reference in New Issue
Block a user