bufferpool: add more debug info

This commit is contained in:
Wim Taymans 2012-03-02 17:03:49 +01:00
parent 6b794fa2ba
commit b3c8264a14

View file

@ -194,6 +194,10 @@ default_alloc_buffer (GstBufferPool * pool, GstBuffer ** buffer,
static gboolean
mark_meta_pooled (GstBuffer * buffer, GstMeta ** meta, gpointer user_data)
{
GstBufferPool *pool = user_data;
GST_DEBUG_OBJECT (pool, "marking meta %p as POOLED in buffer %p", *meta,
buffer);
GST_META_FLAG_SET (*meta, GST_META_FLAG_POOLED);
return TRUE;