From 10d901291e7bad1736a5a9792fa20884cde2b2b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 18 Jan 2012 01:31:56 +0000 Subject: [PATCH] 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(+) diff --git a/gst/gstbufferpool.c b/gst/gstbufferpool.c index 4342b4a1e0..cd821c821c 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 281a54d66b..480c6c8406 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 62131ad552..3657ffc173 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"