rtspconnection: Fix broken build on GLib 2.59.0
authorSeungha Yang <seungha.yang@navercorp.com>
Wed, 30 Jan 2019 11:41:13 +0000 (20:41 +0900)
committerSebastian Dröge <slomo@coaxion.net>
Wed, 30 Jan 2019 12:29:01 +0000 (12:29 +0000)
GPollableReturn enum was introduced after GLib 2.59.0 release.

gst-libs/gst/rtsp/gstrtspconnection.c

index 535aea2..8f1bc6c 100644 (file)
@@ -1250,7 +1250,7 @@ error:
 }
 
 /* NOTE: This changes the values of vectors if multiple iterations are needed! */
-#if GLIB_CHECK_VERSION(2, 59, 0)
+#if GLIB_CHECK_VERSION(2, 59, 1)
 static GstRTSPResult
 writev_bytes (GOutputStream * stream, GOutputVector * vectors, gint n_vectors,
     gsize * bytes_written, gboolean block, GCancellable * cancellable)