bufferpool: Fixed compiler warning

The pool variable was unused when buidling with debug disabled.
This commit is contained in:
Jonas Holmberg 2015-06-24 15:35:16 +02:00 committed by Sebastian Dröge
parent 442760555b
commit fb19ebbd8f

View file

@ -236,10 +236,8 @@ 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_DEBUG_OBJECT (GST_BUFFER_POOL (user_data),
"marking meta %p as POOLED in buffer %p", *meta, buffer);
GST_META_FLAG_SET (*meta, GST_META_FLAG_POOLED);
GST_META_FLAG_SET (*meta, GST_META_FLAG_LOCKED);