Make dprintf_link() show the name of the link pixel format.

Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2009-10-25 21:06:00 +00:00
parent 4521308363
commit 8fdb01c10e
1 changed files with 2 additions and 1 deletions

View File

@ -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" : "");