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:
Stefano Sabatini
2012-06-01 14:46:54 +02:00
parent 7d82020fcb
commit 4d6a8a2bdb
26 changed files with 38 additions and 119 deletions

View File

@@ -15,6 +15,9 @@ libavutil: 2011-04-18
API changes, most recent first:
2012-06-04 - xxxxxxx - lafi 2.78.100
Add avfilter_default_filter_name() function in avfilter.h.
2012-05-24 - xxxxxxx - lavu 51.54.100
Move AVPALETTE_SIZE and AVPALETTE_COUNT macros from
libavcodec/avcodec.h to libavutil/pixfmt.h.