aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-06-10 10:53:03 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-06-10 10:53:03 +0200
commit0d249316043fb69a3972029bff3a2969689ba8b6 (patch)
tree0c6a1278ae4cfac09b883acaaf19eab40e7082b3
parentc8428a0d06de6732c0a834aa825a142ce93869bf (diff)
downloadffmpeg-0d249316043fb69a3972029bff3a2969689ba8b6.tar.gz
vf_fps: set frame_rate.
-rw-r--r--libavfilter/vf_fps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index bbe1bdd6ea..3fae82ba6e 100644
--- a/libavfilter/vf_fps.c
+++ b/libavfilter/vf_fps.c
@@ -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;