mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
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.
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
static const AVClass filtergraph_class = {
|
||||
.class_name = "AVFilterGraph",
|
||||
.item_name = av_default_item_name,
|
||||
.item_name = avfilter_default_filter_name,
|
||||
.version = LIBAVUTIL_VERSION_INT,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user