summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-20 15:16:02 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-08-20 15:16:02 +0000
commit0055b2d11aea9040dc4fd0e9bb0bc10e5bc9fe63 (patch)
tree9aecf32df60692d585e8861290f6a98e70f87d5a
parentb5fbb31e55c547751d3404418fd070dd4dbde1a5 (diff)
Make ff_dprintf_ref() print the information related to the referenced
AVFilterBuffer. Originally committed as revision 24847 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavfilter/avfilter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index bc83be3230..aabc0aaeef 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);