Make ff_dprintf_ref() print the information related to the referenced

AVFilterBuffer.

Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Stefano Sabatini 2010-08-20 15:16:02 +00:00
parent b5fbb31e55
commit 0055b2d11a
1 changed files with 2 additions and 2 deletions

View File

@ -194,8 +194,8 @@ int avfilter_config_links(AVFilterContext *filter)
void ff_dprintf_ref(void *ctx, AVFilterBufferRef *ref, int end)
{
dprintf(ctx,
"ref[%p data:%p linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64,
ref,
"ref[%p buf:%p refcount:%d perms:0x%x data:%p linesize[%d, %d, %d, %d] pts:%"PRId64" pos:%"PRId64,
ref, ref->buf, ref->buf->refcount, ref->perms,
ref->data[0],
ref->linesize[0], ref->linesize[1], ref->linesize[2], ref->linesize[3],
ref->pts, ref->pos);