[FFmpeg-cvslog] vf_drawtext: do not reset the frame number in config_input.

Anton Khirnov git at videolan.org
Fri May 17 11:11:32 CEST 2013


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Mar 18 22:07:10 2013 +0100| [90d9a2a04c3fb49f077209cdd72dcac862f37211] | committer: Anton Khirnov

vf_drawtext: do not reset the frame number in config_input.

Frame number should be incremented normally even if the link properties
change.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90d9a2a04c3fb49f077209cdd72dcac862f37211
---

 libavfilter/vf_drawtext.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index ab867be..2989bd5 100644
--- a/libavfilter/vf_drawtext.c
+++ b/libavfilter/vf_drawtext.c
@@ -569,7 +569,6 @@ static int config_input(AVFilterLink *inlink)
 
     s->var_values[VAR_X] = 0;
     s->var_values[VAR_Y] = 0;
-    s->var_values[VAR_N] = 0;
     s->var_values[VAR_T] = NAN;
 
     av_lfg_init(&s->prng, av_get_random_seed());



More information about the ffmpeg-cvslog mailing list