From 604240f7eb3520a5b513399b55a86aa6b33f6433 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Louis-Francis=20Ratt=C3=A9-Boulianne?= Date: Fri, 8 Jan 2016 18:12:14 -0500 Subject: [PATCH] client: Strip transport parts as whitespaces could be around commas https://bugzilla.gnome.org/show_bug.cgi?id=758428 --- gst/rtsp-server/rtsp-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index d76374e..11931d7 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -1788,6 +1788,7 @@ parse_transport (const char *transport, GstRTSPStream * stream, /* loop through the transports, try to parse */ for (i = 0; transports[i]; i++) { + g_strstrip (transports[i]); res = gst_rtsp_transport_parse (transports[i], tr); if (res != GST_RTSP_OK) { /* no valid transport, search some more */ -- 2.7.4