diff --git a/gst/gstbufferpool.h b/gst/gstbufferpool.h index e8b8908dbc..36c34dd6c3 100644 --- a/gst/gstbufferpool.h +++ b/gst/gstbufferpool.h @@ -34,6 +34,7 @@ extern "C" { #define GST_BUFFER_POOL(pool) \ ((GstBufferPool *)(pool)) #define GST_BUFFER_POOL_LOCK(pool) (g_mutex_lock(GST_BUFFER_POOL(pool)->lock)) +#define GST_BUFFER_POOL_UNLOCK(pool) (g_mutex_unlock(GST_BUFFER_POOL(pool)->lock)) typedef struct _GstBufferPool GstBufferPool;