mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 13:40:55 +00:00
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:
parent
e756effd58
commit
6d7119dbd2
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user