mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
mssdemux: also consider /manifest
The spec says /Manifest, but /manifest is easily found on some services, so handle that, too. https://bugzilla.gnome.org/show_bug.cgi?id=710223
This commit is contained in:
parent
da4f9c18ec
commit
fe77ee47c9
1 changed files with 5 additions and 0 deletions
|
@ -893,6 +893,11 @@ gst_mss_demux_process_manifest (GstMssDemux * mssdemux)
|
|||
|
||||
mssdemux->manifest_uri = g_strdup (uri);
|
||||
baseurl_end = g_strrstr (uri, "/Manifest");
|
||||
if (baseurl_end == NULL) {
|
||||
/* second try */
|
||||
baseurl_end = g_strrstr (uri, "/manifest");
|
||||
}
|
||||
|
||||
if (baseurl_end) {
|
||||
/* set the new end of the string */
|
||||
baseurl_end[0] = '\0';
|
||||
|
|
Loading…
Reference in a new issue