From 4660beaba8d20b854901a08b5e7e870ab80491ab Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 8 Nov 2011 15:51:48 +0100 Subject: [PATCH] pad: remove lock/unlock_full versions of stream-lock --- gst/gstpad.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/gst/gstpad.h b/gst/gstpad.h index 025b477eae..2200c88875 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -787,14 +787,6 @@ struct _GstPadClass { * Lock the stream lock of @pad. */ #define GST_PAD_STREAM_LOCK(pad) (g_static_rec_mutex_lock(GST_PAD_GET_STREAM_LOCK(pad))) -/** - * GST_PAD_STREAM_LOCK_FULL: - * @pad: a #GstPad - * @t: the number of times to recursively lock - * - * Lock the stream lock of @pad @t times. - */ -#define GST_PAD_STREAM_LOCK_FULL(pad,t) (g_static_rec_mutex_lock_full(GST_PAD_GET_STREAM_LOCK(pad), t)) /** * GST_PAD_STREAM_TRYLOCK: * @pad: a #GstPad @@ -810,14 +802,6 @@ struct _GstPadClass { * Unlock the stream lock of @pad. */ #define GST_PAD_STREAM_UNLOCK(pad) (g_static_rec_mutex_unlock(GST_PAD_GET_STREAM_LOCK(pad))) -/** - * GST_PAD_STREAM_UNLOCK_FULL: - * @pad: a #GstPad - * - * Fully unlock the recursive stream lock of @pad, return the number of times - * @pad was locked. - */ -#define GST_PAD_STREAM_UNLOCK_FULL(pad) (g_static_rec_mutex_unlock_full(GST_PAD_GET_STREAM_LOCK(pad))) #define GST_PAD_BLOCK_GET_COND(pad) (GST_PAD_CAST(pad)->block_cond) #define GST_PAD_BLOCK_WAIT(pad) (g_cond_wait(GST_PAD_BLOCK_GET_COND (pad), GST_OBJECT_GET_LOCK (pad)))