summaryrefslogtreecommitdiff
path: root/gst/camerabin
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-27 14:49:58 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-27 15:47:07 +0000
commit8147669971151c33d12c645a242406e518291ff0 (patch)
tree95fcad2d1c8066f768d85fcfdc8547e5660322d2 /gst/camerabin
parentf4d6e03b9b36e76d57745438178d3ddacddb9247 (diff)
downloadgstreamer-plugins-bad-8147669971151c33d12c645a242406e518291ff0.tar.gz
plenty: fixup glib deprecations
Diffstat (limited to 'gst/camerabin')
-rw-r--r--gst/camerabin/gstcamerabin.c5
-rw-r--r--gst/camerabin/gstinputselector.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/gst/camerabin/gstcamerabin.c b/gst/camerabin/gstcamerabin.c
index c9f342bed..605780e40 100644
--- a/gst/camerabin/gstcamerabin.c
+++ b/gst/camerabin/gstcamerabin.c
@@ -151,11 +151,16 @@
# 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 <stdlib.h>
#include <gst/gst.h>
#include <gst/tag/tag.h>
+#include <gst/glib-compat-private.h>
/* FIXME: include #include <gst/gst-i18n-plugin.h> and use _(" ") */
#include "gstcamerabin.h"
diff --git a/gst/camerabin/gstinputselector.c b/gst/camerabin/gstinputselector.c
index 62ee38044..2f0c817e0 100644
--- a/gst/camerabin/gstinputselector.c
+++ b/gst/camerabin/gstinputselector.c
@@ -35,6 +35,7 @@
#include <string.h>
+#include <gst/glib-compat-private.h>
#include "gstinputselector.h"
#include "gstcamerabin-marshal.h"