dashdemux: when updating the manifest, set the uri
authorThiago Santos <thiagoss@osg.samsung.com>
Sat, 29 Nov 2014 13:25:45 +0000 (10:25 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Mon, 1 Dec 2014 00:56:25 +0000 (21:56 -0300)
This will allow dashdemux to create the correct full path URIs to
continue downloading fragments

ext/dash/gstdashdemux.c

index c0d405e..965907c 100644 (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)) {