From 8fdb01c10ea72b931100f1d10279f9337f014497 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 25 Oct 2009 21:06:00 +0000 Subject: [PATCH] Make dprintf_link() show the name of the link pixel format. Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index c68afad077..bc49bd6a73 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -176,8 +176,9 @@ static void dprintf_picref(void *ctx, AVFilterPicRef *picref, int end) static void dprintf_link(void *ctx, AVFilterLink *link, int end) { dprintf(ctx, - "link[%p s:%dx%d %-16s->%-16s]%s", + "link[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s", link, link->w, link->h, + avcodec_get_pix_fmt_name(link->format), link->src ? link->src->filter->name : "", link->dst ? link->dst->filter->name : "", end ? "\n" : "");