From 31976c426ece9b6891a06ba9f68ddc523d89102d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 26 Jun 2012 16:42:10 +0100 Subject: [PATCH] inputselector: remove some dead code for old GLib versions --- plugins/elements/gstinputselector.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index a0ed632e70..4915b3c333 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -85,15 +85,6 @@ gst_input_selector_sync_mode_get_type (void) return type; } -#if GLIB_CHECK_VERSION(2, 26, 0) -#define NOTIFY_MUTEX_LOCK() -#define NOTIFY_MUTEX_UNLOCK() -#else -static GStaticRecMutex notify_mutex = G_STATIC_REC_MUTEX_INIT; -#define NOTIFY_MUTEX_LOCK() g_static_rec_mutex_lock (¬ify_mutex) -#define NOTIFY_MUTEX_UNLOCK() g_static_rec_mutex_unlock (¬ify_mutex) -#endif - #define GST_INPUT_SELECTOR_GET_LOCK(sel) (&((GstInputSelector*)(sel))->lock) #define GST_INPUT_SELECTOR_GET_COND(sel) (&((GstInputSelector*)(sel))->cond) #define GST_INPUT_SELECTOR_LOCK(sel) (g_mutex_lock (GST_INPUT_SELECTOR_GET_LOCK(sel)))