client: Strip transport parts as whitespaces could be around commas

https://bugzilla.gnome.org/show_bug.cgi?id=758428
This commit is contained in:
Louis-Francis Ratté-Boulianne 2016-01-08 18:12:14 -05:00 committed by Nicolas Dufresne
parent c1fab570d8
commit 604240f7eb

View file

@ -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 */