diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-11-03 20:57:26 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-11-09 10:09:42 +0300 |
commit | 11f87ca71e9c7b917f594194f827fd040d1df5ca (patch) | |
tree | 15134f397751c733dcec49812a3ff9e5edbecc36 /libavfilter | |
parent | 7d12cba95ca15198a930c05458dc414ac00c578b (diff) |
vf_frei0r: also set AVFilterLink.frame_rate
(cherry picked from ffmpeg commit 353cf95f948ef7c6139c8ead79e9eeb9eb8d2e6e)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_frei0r.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |