From 6d7119dbd26a6794c2719c662f8805052b1a32f1 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Sat, 1 Feb 2014 15:47:25 +0200 Subject: [PATCH] lavfi/drawtext: fix reinit command Problem was that reinit argument wasn't used. Regression came in at commit fd6228e65711e63a9e35e9a1087d7ce62040e6e3 Signed-off-by: Stefano Sabatini --- libavfilter/vf_drawtext.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index f185c58944..c38439493a 100644 --- a/libavfilter/vf_drawtext.c +++ b/libavfilter/vf_drawtext.c @@ -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]);