From: Louis-Francis Ratté-Boulianne Date: Fri, 8 Jan 2016 23:12:14 +0000 (-0500) Subject: client: Strip transport parts as whitespaces could be around commas X-Git-Tag: 1.19.3~495^2~260 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=604240f7eb3520a5b513399b55a86aa6b33f6433;p=platform%2Fupstream%2Fgstreamer.git client: Strip transport parts as whitespaces could be around commas https://bugzilla.gnome.org/show_bug.cgi?id=758428 --- 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 */