mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
rtspsrc: use sdp uri parse method
Use the sdp parse method that does proper uri escaping.
This commit is contained in:
parent
9338395bc5
commit
7698d8bc4a
1 changed files with 1 additions and 3 deletions
|
@ -6194,9 +6194,7 @@ gst_rtspsrc_uri_set_uri (GstURIHandler * handler, const gchar * uri)
|
|||
goto sdp_failed;
|
||||
|
||||
GST_DEBUG_OBJECT (src, "parsing SDP message");
|
||||
if ((res =
|
||||
gst_sdp_message_parse_buffer ((const guint8 *) uri, strlen (uri),
|
||||
sdp) < 0))
|
||||
if ((res = gst_sdp_message_parse_uri (uri, sdp) < 0))
|
||||
goto invalid_sdp;
|
||||
} else {
|
||||
/* try to parse */
|
||||
|
|
Loading…
Reference in a new issue