Commit 6d7119db authored by Andrey Utkin's avatar Andrey Utkin Committed by Stefano Sabatini

lavfi/drawtext: fix reinit command

Problem was that reinit argument wasn't used.
Regression came in at commit fd6228e6Signed-off-by: 's avatarStefano Sabatini <stefasab@gmail.com>
parent e756effd
......@@ -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]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment