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:
Thiago Santos 2014-11-29 10:25:45 -03:00
parent 58a1b0d058
commit 28d66ea589

View file

@ -928,6 +928,8 @@ gst_dash_demux_update_manifest (GstAdaptiveDemux * demux, GstBuffer * buffer)
/* parse the manifest file */
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);
if (gst_mpd_parse (new_client, (gchar *) mapinfo.data, mapinfo.size)) {