diff --git a/configure.ac b/configure.ac index 3a1ad17a7a..ff803b1892 100644 --- a/configure.ac +++ b/configure.ac @@ -254,7 +254,7 @@ AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)]) dnl *** checks for dependency libraries *** dnl GLib is required -AG_GST_GLIB_CHECK([2.18]) +AG_GST_GLIB_CHECK([2.20]) dnl liboil is required PKG_CHECK_MODULES(LIBOIL, liboil-0.3 >= 0.3.14, HAVE_LIBOIL=yes, HAVE_LIBOIL=no) diff --git a/ext/gio/gstgiobasesrc.c b/ext/gio/gstgiobasesrc.c index 85d94a07bb..133e12c263 100644 --- a/ext/gio/gstgiobasesrc.c +++ b/ext/gio/gstgiobasesrc.c @@ -189,9 +189,8 @@ gst_gio_base_src_get_size (GstBaseSrc * base_src, guint64 * size) GFileInfo *info; GError *err = NULL; - /* FIXME: remove (char *) cast once we depend on GLib >= 2.20 */ info = g_file_input_stream_query_info (G_FILE_INPUT_STREAM (src->stream), - (char *) G_FILE_ATTRIBUTE_STANDARD_SIZE, src->cancel, &err); + G_FILE_ATTRIBUTE_STANDARD_SIZE, src->cancel, &err); if (info != NULL) { *size = g_file_info_get_size (info);