aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-03-18 22:07:10 +0100
committerAnton Khirnov <anton@khirnov.net>2013-05-17 07:43:07 +0200
commit90d9a2a04c3fb49f077209cdd72dcac862f37211 (patch)
tree6d9935154ed1f401c2f589ca1ca325bf7674f799
parent7727be79d1eeb24501459c49329ccad90161f459 (diff)
downloadffmpeg-90d9a2a04c3fb49f077209cdd72dcac862f37211.tar.gz
vf_drawtext: do not reset the frame number in config_input.
Frame number should be incremented normally even if the link properties change.
-rw-r--r--libavfilter/vf_drawtext.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c
index ab867be4eb..2989bd5034 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());