vf_fps: set frame_rate.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 10 Jun 2012 08:53:03 +0000 (10:53 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 10 Jun 2012 08:53:03 +0000 (10:53 +0200)
libavfilter/vf_fps.c

index bbe1bdd..3fae82b 100644 (file)
@@ -120,6 +120,7 @@ static int config_props(AVFilterLink* link)
     FPSContext   *s = link->src->priv;
 
     link->time_base = (AVRational){ s->framerate.den, s->framerate.num };
+    link->frame_rate= s->framerate;
     link->w         = link->src->inputs[0]->w;
     link->h         = link->src->inputs[0]->h;
     s->pts          = AV_NOPTS_VALUE;