avfilter/vf_frei0r: also set AVFilterLink.frame_rate
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Jan 2015 13:46:21 +0000 (14:46 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 17 Jan 2015 13:46:21 +0000 (14:46 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_frei0r.c

index 9f86838..8dcb177 100644 (file)
@@ -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)