From a86fc3da46881f876f92fa4a0d0653c2fd174454 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 30 Jan 2019 20:41:13 +0900 Subject: [PATCH] rtspconnection: Fix broken build on GLib 2.59.0 GPollableReturn enum was introduced after GLib 2.59.0 release. --- gst-libs/gst/rtsp/gstrtspconnection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 535aea2..8f1bc6c 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -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) -- 2.7.4