[FFmpeg-cvslog] lavfi/scale2ref: Set output frame rate to main input frame rate.

Carl Eugen Hoyos git at videolan.org
Wed Nov 8 23:50:29 EET 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Wed Nov  8 09:15:29 2017 +0100| [da99b3f0c90a47210cb802a15366babad22f2c70] | committer: Carl Eugen Hoyos

lavfi/scale2ref: Set output frame rate to main input frame rate.

Fixes ticket #6817.

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

 libavfilter/vf_scale.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index 3329c12346..2fd9c90d84 100644
--- a/libavfilter/vf_scale.c
+++ b/libavfilter/vf_scale.c
@@ -362,6 +362,7 @@ static int config_props_ref(AVFilterLink *outlink)
     outlink->h = inlink->h;
     outlink->sample_aspect_ratio = inlink->sample_aspect_ratio;
     outlink->time_base = inlink->time_base;
+    outlink->frame_rate = inlink->frame_rate;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list