From 28c52b1ed9cf0fdcf214db9450e652c977853cfb Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Fri, 20 Aug 2010 14:41:18 +0000 Subject: [PATCH] Only print the pointer to the first plane in ff_dprintf_picref(). To display the other planes is usually not useful and add noise to the output. Originally committed as revision 24843 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index a9a361cd25..0c5c741787 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -194,9 +194,9 @@ int avfilter_config_links(AVFilterContext *filter) void ff_dprintf_picref(void *ctx, AVFilterBufferRef *picref, int end) { dprintf(ctx, - "picref[%p data[%p, %p, %p, %p] linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64" a:%d/%d s:%dx%d]%s", + "picref[%p data:%p linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64" a:%d/%d s:%dx%d]%s", picref, - picref->data [0], picref->data [1], picref->data [2], picref->data [3], + picref->data[0], picref->linesize[0], picref->linesize[1], picref->linesize[2], picref->linesize[3], picref->pts, picref->pos, picref->video->pixel_aspect.num, picref->video->pixel_aspect.den, picref->video->w, picref->video->h,