From 28d66ea589f7be7346a6ff9a775c08ad89177167 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Sat, 29 Nov 2014 10:25:45 -0300 Subject: [PATCH] dashdemux: when updating the manifest, set the uri This will allow dashdemux to create the correct full path URIs to continue downloading fragments --- ext/dash/gstdashdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index c0d405eb5c..965907c45e 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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)) {