diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-06-01 14:46:54 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-06-04 00:54:57 +0200 |
commit | 4d6a8a2bdb19c4380cc458759b7bd221942a028f (patch) | |
tree | 1488a8dd15ae00c556a1363e760370fcce8a597b /libavfilter/avfiltergraph.c | |
parent | 7d82020fcb7f81fcbbd30b7546ba62af45f1a33c (diff) | |
download | ffmpeg-streaming-4d6a8a2bdb19c4380cc458759b7bd221942a028f.zip ffmpeg-streaming-4d6a8a2bdb19c4380cc458759b7bd221942a028f.tar.gz |
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.
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r-- | libavfilter/avfiltergraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index 8d2312e..3918a0f 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -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, }; |