[FFmpeg-cvslog] vf_interlace: implement frame rate

Michael Niedermayer git at videolan.org
Wed Nov 11 14:58:30 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Nov  3 09:57:24 2015 -0800| [65e73bc60f98dc7b26c687e145dfb755d3f2ccfa] | committer: Anton Khirnov

vf_interlace: implement frame rate

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from ffmpeg commit 227b4458fb434875b127a0c2306fa3b899a770bf)
Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=65e73bc60f98dc7b26c687e145dfb755d3f2ccfa
---

 libavfilter/vf_interlace.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavfilter/vf_interlace.c b/libavfilter/vf_interlace.c
index 8ef58e4..939fabc 100644
--- a/libavfilter/vf_interlace.c
+++ b/libavfilter/vf_interlace.c
@@ -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) {



More information about the ffmpeg-cvslog mailing list