Commit cc2b4e88 authored by Michael Niedermayer's avatar Michael Niedermayer

libavfilter/graphparser: Avoid spaces in filter instance names.

This makes it easier to refer to filters where things are seperated by spaces.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7c3f4fb4
......@@ -99,7 +99,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
char tmp_args[256];
int ret;
snprintf(inst_name, sizeof(inst_name), "Parsed filter %d %s", index, filt_name);
snprintf(inst_name, sizeof(inst_name), "Parsed_%s_%d", filt_name, index);
filt = avfilter_get_by_name(filt_name);
......
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