[FFmpeg-cvslog] vf_fps: set frame_rate.
Nicolas George
git at videolan.org
Sun Jun 10 13:14:07 CEST 2012
ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sun Jun 10 10:53:03 2012 +0200| [0d249316043fb69a3972029bff3a2969689ba8b6] | committer: Nicolas George
vf_fps: set frame_rate.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0d249316043fb69a3972029bff3a2969689ba8b6
---
libavfilter/vf_fps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c
index bbe1bdd..3fae82b 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;
More information about the ffmpeg-cvslog
mailing list