summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-06-14 17:01:03 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-06-14 17:01:03 +0200
commit85d3c03d262c70c6e0bc8287e1d8a7be8916dcf1 (patch)
tree89eeb4658c4bbe51d4a70cd96d59046ed75d0173
parent0679c76b64a0334afad2ad161daf6bf4a2f9234e (diff)
configure: Require GLib 2.20
-rw-r--r--configure.ac2
-rw-r--r--tests/examples/mxf/mxfdemux-structure.c4
2 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 10abb9870..24fe8d2f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -177,7 +177,7 @@ AC_CHECK_FUNC(socket,,[AC_CHECK_LIB(socket,socket)])
AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
dnl GLib is required
-AG_GST_GLIB_CHECK([2.16])
+AG_GST_GLIB_CHECK([2.20])
dnl checks for gstreamer
dnl uninstalled is selected preferentially -- see pkg-config(1)
diff --git a/tests/examples/mxf/mxfdemux-structure.c b/tests/examples/mxf/mxfdemux-structure.c
index 17130bfb5..0678ad542 100644
--- a/tests/examples/mxf/mxfdemux-structure.c
+++ b/tests/examples/mxf/mxfdemux-structure.c
@@ -30,12 +30,8 @@ static gchar *
g_value_to_string (const GValue * val)
{
if (G_VALUE_TYPE (val) == GST_TYPE_BUFFER) {
-#if GLIB_CHECK_VERSION (2,16,0)
const GstBuffer *buf = gst_value_get_buffer (val);
gchar *ret = g_base64_encode (GST_BUFFER_DATA (buf), GST_BUFFER_SIZE (buf));
-#else
- gchar *ret = gst_value_serialize (val);
-#endif
return ret;
} else {