History

lavfi: add avfilter_default_filter_name()

The function is modelled after av_default_item_name(), and will print the name of the instance filter if defined, otherwise the name of the filter. This allows to show the instance name in the log, which is useful when debugging complex filter graphs.

Stefano Sabatini committed 14 years ago

Commit 4d6a8a21 parent 7d8202026 files · +38 −119Browse files

Showing the changes to libavfilter/avfiltergraph.c (1 of 26 files). Show all

Unified · Split

libavfilter/avfiltergraph.c+1−1
@@ -36,7 +36,7 @@ · 35 unmodified lines
36 36
37static const AVClass filtergraph_class = {37static const AVClass filtergraph_class = {
38 .class_name = "AVFilterGraph",38 .class_name = "AVFilterGraph",
39 .item_name = av_default_item_name,39 .item_name = avfilter_default_filter_name,
40 .version = LIBAVUTIL_VERSION_INT,40 .version = LIBAVUTIL_VERSION_INT,
41};41};
42 42

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