[0.11] gstreamer: gst: suppress some more deprecated thread api until we fix it up

Tim Müller tpm at kemper.freedesktop.org
Tue Jan 17 17:32:46 PST 2012


Module: gstreamer
Branch: 0.11
Commit: 10d901291e7bad1736a5a9792fa20884cde2b2b0
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=10d901291e7bad1736a5a9792fa20884cde2b2b0

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Jan 18 01:31:56 2012 +0000

gst: suppress some more deprecated thread api until we fix it up

Which should be soon, since we already depend on an unstable glib for -base.

---

 gst/gstbufferpool.c |    3 +++
 gst/gstmemory.c     |    6 ++++++
 gst/gstmeta.c       |    3 +++
 3 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c
index 4342b4a..cd821c8 100644
--- a/gst/gstbufferpool.c
+++ b/gst/gstbufferpool.c
@@ -26,6 +26,9 @@
  *
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
 #include "gst_private.h"
 #include "glib-compat-private.h"
 
diff --git a/gst/gstmemory.c b/gst/gstmemory.c
index 281a54d..480c6c8 100644
--- a/gst/gstmemory.c
+++ b/gst/gstmemory.c
@@ -63,7 +63,13 @@
  * Last reviewed on 2011-06-08 (0.11.0)
  */
 
+#ifdef HAVE_CONFIG_H
 #include "config.h"
+#endif
+
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
 #include "gst_private.h"
 #include "gstmemory.h"
 
diff --git a/gst/gstmeta.c b/gst/gstmeta.c
index 62131ad..3657ffc 100644
--- a/gst/gstmeta.c
+++ b/gst/gstmeta.c
@@ -25,6 +25,9 @@
  *
  * Last reviewed on December 17th, 2009 (0.10.26)
  */
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
 #include "gst_private.h"
 
 #include "gstbuffer.h"



More information about the gstreamer-commits mailing list