Commit 353cf95f authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_frei0r: also set AVFilterLink.frame_rate

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f8ff7619
...@@ -471,6 +471,7 @@ static int source_config_props(AVFilterLink *outlink) ...@@ -471,6 +471,7 @@ static int source_config_props(AVFilterLink *outlink)
outlink->w = s->w; outlink->w = s->w;
outlink->h = s->h; outlink->h = s->h;
outlink->time_base = s->time_base; outlink->time_base = s->time_base;
outlink->frame_rate = av_inv_q(s->time_base);
outlink->sample_aspect_ratio = (AVRational){1,1}; outlink->sample_aspect_ratio = (AVRational){1,1};
if (s->destruct && s->instance) if (s->destruct && s->instance)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment