mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
client: Strip transport parts as whitespaces could be around commas
https://bugzilla.gnome.org/show_bug.cgi?id=758428
This commit is contained in:
parent
c1fab570d8
commit
604240f7eb
1 changed files with 1 additions and 0 deletions
|
@ -1788,6 +1788,7 @@ parse_transport (const char *transport, GstRTSPStream * stream,
|
||||||
|
|
||||||
/* loop through the transports, try to parse */
|
/* loop through the transports, try to parse */
|
||||||
for (i = 0; transports[i]; i++) {
|
for (i = 0; transports[i]; i++) {
|
||||||
|
g_strstrip (transports[i]);
|
||||||
res = gst_rtsp_transport_parse (transports[i], tr);
|
res = gst_rtsp_transport_parse (transports[i], tr);
|
||||||
if (res != GST_RTSP_OK) {
|
if (res != GST_RTSP_OK) {
|
||||||
/* no valid transport, search some more */
|
/* no valid transport, search some more */
|
||||||
|
|
Loading…
Reference in a new issue