From 4738e02bbf09411fdf338beb5532d364a4f9c1a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 29 Jan 2012 00:21:19 +0000 Subject: [PATCH] playback: suppress GValueArray deprecation warnings for the time being until this gets sorted out and we have a viable alternative. https://bugzilla.gnome.org/show_bug.cgi?id=667228 --- gst/playback/gstdecodebin2.c | 4 ++++ gst/playback/gstplaybin2.c | 4 ++++ gst/playback/gsturidecodebin.c | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/gst/playback/gstdecodebin2.c b/gst/playback/gstdecodebin2.c index 4916fad..b7f9839 100644 --- a/gst/playback/gstdecodebin2.c +++ b/gst/playback/gstdecodebin2.c @@ -81,6 +81,10 @@ * */ +/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray + * with newer GLib versions (>= 2.31.0) */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index 33368bb..d9ff1d9 100644 --- a/gst/playback/gstplaybin2.c +++ b/gst/playback/gstplaybin2.c @@ -213,6 +213,10 @@ * */ +/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray + * with newer GLib versions (>= 2.31.0) */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #ifdef HAVE_CONFIG_H #include "config.h" #endif diff --git a/gst/playback/gsturidecodebin.c b/gst/playback/gsturidecodebin.c index fcbf14f..ba43d0c 100644 --- a/gst/playback/gsturidecodebin.c +++ b/gst/playback/gsturidecodebin.c @@ -24,6 +24,10 @@ * handle the given #GstURIDecodeBin:uri scheme and connects it to a decodebin. */ +/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray + * with newer GLib versions (>= 2.31.0) */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #ifdef HAVE_CONFIG_H # include "config.h" #endif -- 2.7.4