mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 13:36:39 +00:00
dashdemux: when updating the manifest, set the uri
This will allow dashdemux to create the correct full path URIs to continue downloading fragments
This commit is contained in:
parent
58a1b0d058
commit
28d66ea589
1 changed files with 2 additions and 0 deletions
|
@ -928,6 +928,8 @@ gst_dash_demux_update_manifest (GstAdaptiveDemux * demux, GstBuffer * buffer)
|
||||||
|
|
||||||
/* parse the manifest file */
|
/* parse the manifest file */
|
||||||
new_client = gst_mpd_client_new ();
|
new_client = gst_mpd_client_new ();
|
||||||
|
new_client->mpd_uri = g_strdup (demux->manifest_uri);
|
||||||
|
new_client->mpd_base_uri = g_strdup (demux->manifest_base_uri);
|
||||||
gst_buffer_map (buffer, &mapinfo, GST_MAP_READ);
|
gst_buffer_map (buffer, &mapinfo, GST_MAP_READ);
|
||||||
|
|
||||||
if (gst_mpd_parse (new_client, (gchar *) mapinfo.data, mapinfo.size)) {
|
if (gst_mpd_parse (new_client, (gchar *) mapinfo.data, mapinfo.size)) {
|
||||||
|
|
Loading…
Reference in a new issue