mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
bufferpool: Fixed compiler warning
The pool variable was unused when buidling with debug disabled.
This commit is contained in:
parent
442760555b
commit
fb19ebbd8f
1 changed files with 2 additions and 4 deletions
|
@ -236,10 +236,8 @@ default_alloc_buffer (GstBufferPool * pool, GstBuffer ** buffer,
|
||||||
static gboolean
|
static gboolean
|
||||||
mark_meta_pooled (GstBuffer * buffer, GstMeta ** meta, gpointer user_data)
|
mark_meta_pooled (GstBuffer * buffer, GstMeta ** meta, gpointer user_data)
|
||||||
{
|
{
|
||||||
GstBufferPool *pool = user_data;
|
GST_DEBUG_OBJECT (GST_BUFFER_POOL (user_data),
|
||||||
|
"marking meta %p as POOLED in buffer %p", *meta, buffer);
|
||||||
GST_DEBUG_OBJECT (pool, "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_POOLED);
|
||||||
GST_META_FLAG_SET (*meta, GST_META_FLAG_LOCKED);
|
GST_META_FLAG_SET (*meta, GST_META_FLAG_LOCKED);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue