mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
Bump GLib requirement to 2.20
See http://gstreamer.freedesktop.org/wiki/ReleasePlanning/GLibRequirement
This commit is contained in:
parent
db4ccd8610
commit
63931dc80b
2 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue