summaryrefslogtreecommitdiff
path: root/libavfilter/graphparser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-30 22:02:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-30 22:02:38 +0200
commitcc2b4e889d24fa33986ccb0ff7b6455ec16a767f (patch)
tree80d41600589c18125685af0d9f6cf7c6b6e598ac /libavfilter/graphparser.c
parent7c3f4fb42df4cbe789a9116aff1d34e7657cd33f (diff)
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: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/graphparser.c')
-rw-r--r--libavfilter/graphparser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/graphparser.c b/libavfilter/graphparser.c
index f38c6cfcae..bd3022e035 100644
--- a/libavfilter/graphparser.c
+++ b/libavfilter/graphparser.c
@@ -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);