Show aspect ratio information in dprintf_picref() traces.

Originally committed as revision 22255 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-03-06 21:28:08 +00:00
parent c18fb6310d
commit 63833766dc

View File

@ -171,11 +171,11 @@ int avfilter_config_links(AVFilterContext *filter)
static void dprintf_picref(void *ctx, AVFilterPicRef *picref, int end)
{
dprintf(ctx,
"picref[%p data[%p, %p, %p, %p] linesize[%d, %d, %d, %d] pts:%"PRId64" s:%dx%d]%s",
"picref[%p data[%p, %p, %p, %p] linesize[%d, %d, %d, %d] pts:%"PRId64" a:%d/%d s:%dx%d]%s",
picref,
picref->data [0], picref->data [1], picref->data [2], picref->data [3],
picref->linesize[0], picref->linesize[1], picref->linesize[2], picref->linesize[3],
picref->pts, picref->w, picref->h,
picref->pts, picref->pixel_aspect.num, picref->pixel_aspect.den, picref->w, picref->h,
end ? "\n" : "");
}