Make ff_dprintf_ref() print the information related to the referenced

AVFilterBuffer.

Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Stefano Sabatini 15 years ago
parent b5fbb31e55
commit 0055b2d11a
  1. 4
      libavfilter/avfilter.c

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

Loading…
Cancel
Save