[FFmpeg-devel] [PATCH] lavfi: add avfilter_default_filter_name()

Michael Niedermayer michaelni at gmx.at
Sun Jun 3 22:45:39 CEST 2012


On Fri, Jun 01, 2012 at 02:49:31PM +0200, Stefano Sabatini wrote:
> 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.
> ---
>  libavfilter/af_aformat.c       |    2 +-
>  libavfilter/af_amix.c          |    2 +-
>  libavfilter/af_asyncts.c       |    2 +-
>  libavfilter/af_silencedetect.c |    7 +------
>  libavfilter/asrc_aevalsrc.c    |    7 +------
>  libavfilter/asrc_anullsrc.c    |    7 +------
>  libavfilter/avfilter.c         |    8 ++++----
>  libavfilter/avfilter.h         |    6 ++++++
>  libavfilter/avfiltergraph.c    |    2 +-
>  libavfilter/buffersrc.c        |    2 +-
>  libavfilter/src_movie.c        |    7 +------
>  libavfilter/vf_ass.c           |    7 +------
>  libavfilter/vf_blackdetect.c   |    7 +------
>  libavfilter/vf_delogo.c        |    7 +------
>  libavfilter/vf_drawtext.c      |    7 +------
>  libavfilter/vf_fade.c          |    7 +------
>  libavfilter/vf_fps.c           |    2 +-
>  libavfilter/vf_lut.c           |    7 +------
>  libavfilter/vf_overlay.c       |    7 +------
>  libavfilter/vsrc_cellauto.c    |    7 +------
>  libavfilter/vsrc_life.c        |    7 +------
>  libavfilter/vsrc_mandelbrot.c  |    7 +------
>  libavfilter/vsrc_mptestsrc.c   |    7 +------
>  libavfilter/vsrc_testsrc.c     |   21 +++------------------
>  24 files changed, 34 insertions(+), 118 deletions(-)

LGTM

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The real ebay dictionary, page 1
"Used only once"    - "Some unspecified defect prevented a second use"
"In good condition" - "Can be repaird by experienced expert"
"As is" - "You wouldnt want it even if you were payed for it, if you knew ..."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120603/132a9897/attachment.asc>


More information about the ffmpeg-devel mailing list