aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-25 21:06:00 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-10-25 21:06:00 +0000
commit8fdb01c10ea72b931100f1d10279f9337f014497 (patch)
treeb8eec6054eb136e94bd6f8c5bb3caed01b99c11a /libavfilter/avfilter.c
parent452130836320cf348b2e81b35d15ba30664d889e (diff)
downloadffmpeg-8fdb01c10ea72b931100f1d10279f9337f014497.tar.gz
Make dprintf_link() show the name of the link pixel format.
Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c3
1 files changed, 2 insertions, 1 deletions
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" : "");