summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-03-10 18:39:51 +0100
committerJosep Torra <n770galaxy@gmail.com>2013-03-10 18:50:00 +0100
commitd76b776e8d152159b187a9641977fc84006997ff (patch)
treeff0440cb21263246f30ac74f3ce19dd71df58043
parent6904e70689bd49ae855704bcbe5961eb30e63101 (diff)
downloadgstreamer-plugins-good-d76b776e8d152159b187a9641977fc84006997ff.tar.gz
osxvideo: suppress warnings for deprecated glib API
-rw-r--r--sys/osxvideo/osxvideosink.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/osxvideo/osxvideosink.m b/sys/osxvideo/osxvideosink.m
index 4419d37b8..48425439f 100644
--- a/sys/osxvideo/osxvideosink.m
+++ b/sys/osxvideo/osxvideosink.m
@@ -37,6 +37,11 @@
*/
#include "config.h"
+
+/* FIXME 1.x: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
#include <gst/interfaces/xoverlay.h>
#include <gst/interfaces/navigation.h>