[SCM] libav/experimental: Make ff_dprintf_ref() print the information related to the referenced AVFilterBuffer.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:14:18 UTC 2013


The following commit has been merged in the experimental branch:
commit 0055b2d11aea9040dc4fd0e9bb0bc10e5bc9fe63
Author: Stefano Sabatini <stefano.sabatini-lala at poste.it>
Date:   Fri Aug 20 15:16:02 2010 +0000

    Make ff_dprintf_ref() print the information related to the referenced
    AVFilterBuffer.
    
    Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index bc83be3..aabc0aa 100644
--- a/libavfilter/avfilter.c
+++ b/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);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list