[FFmpeg-cvslog] avfilter/vf_frei0r: also set AVFilterLink.frame_rate

Michael Niedermayer git at videolan.org
Sat Jan 17 16:33:18 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan 17 14:46:21 2015 +0100| [353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e] | committer: Michael Niedermayer

avfilter/vf_frei0r: also set AVFilterLink.frame_rate

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c
index 9f86838..8dcb177 100644
--- a/libavfilter/vf_frei0r.c
+++ b/libavfilter/vf_frei0r.c
@@ -471,6 +471,7 @@ static int source_config_props(AVFilterLink *outlink)
     outlink->w = s->w;
     outlink->h = s->h;
     outlink->time_base = s->time_base;
+    outlink->frame_rate = av_inv_q(s->time_base);
     outlink->sample_aspect_ratio = (AVRational){1,1};
 
     if (s->destruct && s->instance)



More information about the ffmpeg-cvslog mailing list