rtspconnection: Fix broken build on GLib 2.59.0

GPollableReturn enum was introduced after GLib 2.59.0 release.
This commit is contained in:
Seungha Yang 2019-01-30 20:41:13 +09:00 committed by Sebastian Dröge
parent 57aba8952d
commit a86fc3da46

View file

@ -1250,7 +1250,7 @@ error:
} }
/* NOTE: This changes the values of vectors if multiple iterations are needed! */ /* 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 static GstRTSPResult
writev_bytes (GOutputStream * stream, GOutputVector * vectors, gint n_vectors, writev_bytes (GOutputStream * stream, GOutputVector * vectors, gint n_vectors,
gsize * bytes_written, gboolean block, GCancellable * cancellable) gsize * bytes_written, gboolean block, GCancellable * cancellable)