From 01b2476d36dff429ded4517048a5671c38755669 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 29 Feb 2016 17:06:36 +0200 Subject: [PATCH] element: Remove GST_STATE_LOCK_FULL() / UNLOCK_FULL() There is no corresponding API for that in GLib and nobody could've ever used these macros without compiler errors anyway. --- gst/gstelement.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gst/gstelement.h b/gst/gstelement.h index 942248d..c3d1cbd 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -495,8 +495,6 @@ G_STMT_START { \ #define GST_STATE_LOCK(elem) g_rec_mutex_lock(GST_STATE_GET_LOCK(elem)) #define GST_STATE_TRYLOCK(elem) g_rec_mutex_trylock(GST_STATE_GET_LOCK(elem)) #define GST_STATE_UNLOCK(elem) g_rec_mutex_unlock(GST_STATE_GET_LOCK(elem)) -#define GST_STATE_UNLOCK_FULL(elem) g_rec_mutex_unlock_full(GST_STATE_GET_LOCK(elem)) -#define GST_STATE_LOCK_FULL(elem,t) g_rec_mutex_lock_full(GST_STATE_GET_LOCK(elem), t) #define GST_STATE_WAIT(elem) g_cond_wait (GST_STATE_GET_COND (elem), \ GST_OBJECT_GET_LOCK (elem)) #define GST_STATE_WAIT_UNTIL(elem, end_time) g_cond_wait_until (GST_STATE_GET_COND (elem), \ -- 2.7.4