[FFmpeg-devel] [PATCH 2/4] avfiltergraph: add a debug message on EOF.

Stefano Sabatini stefasab at gmail.com
Tue Jul 17 22:58:24 CEST 2012


On date Tuesday 2012-07-17 18:13:17 +0200, Nicolas George encoded:
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  libavfilter/avfiltergraph.c |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
> index 7530b6b..ccd5ff9 100644
> --- a/libavfilter/avfiltergraph.c
> +++ b/libavfilter/avfiltergraph.c
> @@ -983,6 +983,9 @@ int avfilter_graph_request_oldest(AVFilterGraph *graph)
>          int r = ff_request_frame(oldest);
>          if (r != AVERROR_EOF)
>              return r;
> +        av_log(oldest->dst, AV_LOG_DEBUG, "EOF on sink link %s:%s.\n",
> +               oldest->dst ? oldest->dst->name : "unknown",
> +               oldest->dstpad ? oldest->dstpad->name : "unknown");

LGTM.
-- 
FFmpeg = Fast and Frenzy Mere Pure Evil Gorilla


More information about the ffmpeg-devel mailing list