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.
Showing the changes to libavfilter/avfiltergraph.c (1 of 26 files). Show all
Unified · Split
| @@ -36,7 +36,7 @@ · 35 unmodified lines | ||
| 36 | 36 | |
| 37 | 37 | static const AVClass filtergraph_class = { |
| 38 | 38 | .class_name = "AVFilterGraph", |
| 39 | − .item_name = av_default_item_name, | |
| 39 | + .item_name = avfilter_default_filter_name, | |
| 40 | 40 | .version = LIBAVUTIL_VERSION_INT, |
| 41 | 41 | }; |
| 42 | 42 | |