lavfi/drawtext: fix reinit command

Problem was that reinit argument wasn't used.
Regression came in at commit fd6228e657

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
Andrey Utkin 2014-02-01 15:47:25 +02:00 committed by Stefano Sabatini
parent e756effd58
commit 6d7119dbd2

View File

@ -640,6 +640,8 @@ static int command(AVFilterContext *ctx, const char *cmd, const char *arg, char
int ret;
uninit(ctx);
s->reinit = 1;
if ((ret = av_set_options_string(ctx, arg, "=", ":")) < 0)
return ret;
if ((ret = init(ctx)) < 0)
return ret;
return config_input(ctx->inputs[0]);