[0.11] gst-plugins-good: Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly

Sebastian Dröge slomo at kemper.freedesktop.org
Tue Jan 10 05:33:01 PST 2012


Module: gst-plugins-good
Branch: 0.11
Commit: b8b8454bcb2aba9a1e5477763b7841705df55052
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=b8b8454bcb2aba9a1e5477763b7841705df55052

Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Mon Dec 12 02:52:13 2011 +0000

Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly

GStaticRecMutex is part of our API/ABI, not much we can do here
in 0.10 for most of these.

---

 ext/dv/gstdvdemux.c              |    5 +++++
 ext/flac/gstflacdec.c            |    5 +++++
 ext/wavpack/gstwavpackparse.c    |    5 +++++
 gst/avi/gstavidemux.c            |    4 ++++
 gst/flv/gstflvdemux.c            |    4 ++++
 gst/imagefreeze/gstimagefreeze.c |    4 ++++
 gst/isomp4/gstqtmoovrecover.c    |    4 ++++
 gst/isomp4/qtdemux.c             |    4 ++++
 gst/matroska/matroska-demux.c    |    4 ++++
 gst/rtpmanager/gstrtpssrcdemux.c |    4 ++++
 gst/rtsp/gstrtspsrc.c            |    4 ++++
 gst/videomixer/videomixer2.c     |    4 ++++
 gst/wavparse/gstwavparse.c       |    5 +++++
 13 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/ext/dv/gstdvdemux.c b/ext/dv/gstdvdemux.c
index 7563203..467ebe5 100644
--- a/ext/dv/gstdvdemux.c
+++ b/ext/dv/gstdvdemux.c
@@ -21,6 +21,11 @@
 #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 <string.h>
 #include <math.h>
 
diff --git a/ext/flac/gstflacdec.c b/ext/flac/gstflacdec.c
index f6c0d81..65aa927 100644
--- a/ext/flac/gstflacdec.c
+++ b/ext/flac/gstflacdec.c
@@ -44,6 +44,11 @@
 #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 <string.h>
 
 #include "gstflacdec.h"
diff --git a/ext/wavpack/gstwavpackparse.c b/ext/wavpack/gstwavpackparse.c
index 8734e62..e1ff785 100644
--- a/ext/wavpack/gstwavpackparse.c
+++ b/ext/wavpack/gstwavpackparse.c
@@ -41,6 +41,11 @@
 #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/gst.h>
 #include <gst/gst-i18n-plugin.h>
 
diff --git a/gst/avi/gstavidemux.c b/gst/avi/gstavidemux.c
index 83a0547..b6c065f 100644
--- a/gst/avi/gstavidemux.c
+++ b/gst/avi/gstavidemux.c
@@ -45,6 +45,10 @@
 #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 <string.h>
 #include <stdio.h>
 
diff --git a/gst/flv/gstflvdemux.c b/gst/flv/gstflvdemux.c
index 00a68e4..640301b 100644
--- a/gst/flv/gstflvdemux.c
+++ b/gst/flv/gstflvdemux.c
@@ -34,6 +34,10 @@
 #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 "gstflvdemux.h"
 #include "gstflvmux.h"
 
diff --git a/gst/imagefreeze/gstimagefreeze.c b/gst/imagefreeze/gstimagefreeze.c
index 312f4aa..6456040 100644
--- a/gst/imagefreeze/gstimagefreeze.c
+++ b/gst/imagefreeze/gstimagefreeze.c
@@ -41,6 +41,10 @@
 #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/glib-compat-private.h>
 
 #include "gstimagefreeze.h"
diff --git a/gst/isomp4/gstqtmoovrecover.c b/gst/isomp4/gstqtmoovrecover.c
index 8079972..0b832d3 100644
--- a/gst/isomp4/gstqtmoovrecover.c
+++ b/gst/isomp4/gstqtmoovrecover.c
@@ -65,6 +65,10 @@
 #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 <glib/gstdio.h>
 #include <gst/gst.h>
 
diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index b91b4b3..037f29e 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -47,6 +47,10 @@
 #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/gst-i18n-plugin.h"
 
 #include <glib/gprintf.h>
diff --git a/gst/matroska/matroska-demux.c b/gst/matroska/matroska-demux.c
index 3d5a569..eac7d65 100644
--- a/gst/matroska/matroska-demux.c
+++ b/gst/matroska/matroska-demux.c
@@ -49,6 +49,10 @@
 #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 <math.h>
 #include <string.h>
 #include <glib/gprintf.h>
diff --git a/gst/rtpmanager/gstrtpssrcdemux.c b/gst/rtpmanager/gstrtpssrcdemux.c
index 294b31c..e4dd569 100644
--- a/gst/rtpmanager/gstrtpssrcdemux.c
+++ b/gst/rtpmanager/gstrtpssrcdemux.c
@@ -44,6 +44,10 @@
 #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 <string.h>
 #include <gst/rtp/gstrtpbuffer.h>
 #include <gst/rtp/gstrtcpbuffer.h>
diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c
index b7b790f..cfdbea4 100644
--- a/gst/rtsp/gstrtspsrc.c
+++ b/gst/rtsp/gstrtspsrc.c
@@ -81,6 +81,10 @@
 #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
+
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif /* HAVE_UNISTD_H */
diff --git a/gst/videomixer/videomixer2.c b/gst/videomixer/videomixer2.c
index b876c22..585f3aa 100644
--- a/gst/videomixer/videomixer2.c
+++ b/gst/videomixer/videomixer2.c
@@ -86,6 +86,10 @@
 #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 <string.h>
 
 #include "videomixer2.h"
diff --git a/gst/wavparse/gstwavparse.c b/gst/wavparse/gstwavparse.c
index ef222e5..6c5e77b 100644
--- a/gst/wavparse/gstwavparse.c
+++ b/gst/wavparse/gstwavparse.c
@@ -49,6 +49,11 @@
 #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 <string.h>
 #include <math.h>
 



More information about the gstreamer-commits mailing list