1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-29 00:10:04 +02:00

vf_drawtext: do not reset the frame number in config_input.

Frame number should be incremented normally even if the link properties
change.
This commit is contained in:
Anton Khirnov 2013-03-18 22:07:10 +01:00
parent 7727be79d1
commit 90d9a2a04c

View File

@ -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());