History

libavfilter/graphparser: Avoid spaces in filter instance names. This makes it easier to refer to filters where things are seperated by spaces.

Michael Niedermayer committed 15 years ago

Commit cc2b4e81 parent 7c3f4fb1 file · +1 −1Browse files

Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all

Unified · Split

libavfilter/graphparser.c+1−1
@@ -99,7 +99,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 98 unmodified lines
9999 char tmp_args[256];
100100 int ret;
101101
102− snprintf(inst_name, sizeof(inst_name), "Parsed filter %d %s", index, filt_name);
102+ snprintf(inst_name, sizeof(inst_name), "Parsed_%s_%d", filt_name, index);
103103
104104 filt = avfilter_get_by_name(filt_name);
105105

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t