Make ff_dprintf_ref() print the information related to the referenced
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 20 Aug 2010 15:16:02 +0000 (15:16 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 20 Aug 2010 15:16:02 +0000 (15:16 +0000)
AVFilterBuffer.

Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavfilter/avfilter.c

index bc83be3..aabc0aa 100644 (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);