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

Originally committed as revision 20372 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Stefano Sabatini 15 years ago
parent 4521308363
commit 8fdb01c10e
  1. 3
      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) static void dprintf_link(void *ctx, AVFilterLink *link, int end)
{ {
dprintf(ctx, 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, link, link->w, link->h,
avcodec_get_pix_fmt_name(link->format),
link->src ? link->src->filter->name : "", link->src ? link->src->filter->name : "",
link->dst ? link->dst->filter->name : "", link->dst ? link->dst->filter->name : "",
end ? "\n" : ""); end ? "\n" : "");

Loading…
Cancel
Save