summaryrefslogtreecommitdiff
path: root/ext/musepack
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2012-03-06 18:11:35 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2012-03-06 18:49:49 +0100
commita1b7f84794da2219b604b8410472b4a6d29227cb (patch)
tree8acf9c2894a7443b572753571a0fffaa8a7675a6 /ext/musepack
parent22b9b13166147b74a63fcce57b2615d0a9fc4f47 (diff)
downloadgstreamer-plugins-bad-a1b7f84794da2219b604b8410472b4a6d29227cb.tar.gz
Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
Suppress warnings about deprecated threading and GValueArray API, so git compiles with -Werror.
Diffstat (limited to 'ext/musepack')
-rw-r--r--ext/musepack/gstmusepackdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/musepack/gstmusepackdec.c b/ext/musepack/gstmusepackdec.c
index 1d6380c75..899a4c25a 100644
--- a/ext/musepack/gstmusepackdec.c
+++ b/ext/musepack/gstmusepackdec.c
@@ -19,6 +19,10 @@
* Boston, MA 02111-1307, USA.
*/
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif