vf_frei0r: also set AVFilterLink.frame_rate

(cherry picked from ffmpeg commit 353cf95f94)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Michael Niedermayer 2015-11-03 09:57:26 -08:00 committed by Anton Khirnov
parent 7d12cba95c
commit 11f87ca71e

View File

@ -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);