From 11f87ca71e9c7b917f594194f827fd040d1df5ca Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 3 Nov 2015 09:57:26 -0800 Subject: [PATCH] vf_frei0r: also set AVFilterLink.frame_rate (cherry picked from ffmpeg commit 353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e) Signed-off-by: Anton Khirnov --- libavfilter/vf_frei0r.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 0122b8d905..04f74bcc71 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -459,6 +459,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); if (s->destruct && s->instance) s->destruct(s->instance);