[FFmpeg-devel] [PATCH] Log debug information in filter_samples().

Måns Rullgård mans
Wed Feb 2 13:15:08 CET 2011


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> ---
>  libavfilter/avfilter.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 6581af5..554fbd4 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -475,6 +475,8 @@ void avfilter_filter_samples(AVFilterLink *link, AVFilterBufferRef *samplesref)
>      void (*filter_samples)(AVFilterLink *, AVFilterBufferRef *);
>      AVFilterPad *dst = link->dstpad;
>
> +    FF_DPRINTF_START(NULL, filter_samples); ff_dlog_link(NULL, link, 1);
> +
>      if (!(filter_samples = dst->filter_samples))
>          filter_samples = avfilter_default_filter_samples;
>
> -- 
> 1.7.2.3

Looks good.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list