From: Tim-Philipp Müller Date: Sun, 29 Jan 2012 00:21:19 +0000 (+0000) Subject: playback: suppress GValueArray deprecation warnings for the time being X-Git-Tag: 1.19.3~511^2~6850 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4738e02bbf09411fdf338beb5532d364a4f9c1a6;p=platform%2Fupstream%2Fgstreamer.git 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 --- 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