dashdemux: Download MPD with compression, the fragments without

This commit is contained in:
Sebastian Dröge 2014-02-12 13:10:50 +01:00
parent 2a38c1409b
commit 48ba499ed2

View file

@ -1239,7 +1239,7 @@ gst_dash_demux_refresh_mpd (GstDashDemux * demux)
GST_DEBUG_OBJECT (demux, "Updating manifest file from URL %s", GST_DEBUG_OBJECT (demux, "Updating manifest file from URL %s",
demux->client->mpd_uri); demux->client->mpd_uri);
download = gst_uri_downloader_fetch_uri (demux->downloader, download = gst_uri_downloader_fetch_uri (demux->downloader,
demux->client->mpd_uri, NULL); demux->client->mpd_uri, TRUE, NULL);
if (download) { if (download) {
GstMpdClient *new_client = NULL; GstMpdClient *new_client = NULL;
@ -1673,7 +1673,7 @@ gst_dash_demux_download_header_fragment (GstDashDemux * demux,
} }
fragment = gst_uri_downloader_fetch_uri_with_range (stream->downloader, fragment = gst_uri_downloader_fetch_uri_with_range (stream->downloader,
next_header_uri, range_start, range_end, NULL); next_header_uri, FALSE, range_start, range_end, NULL);
g_free (next_header_uri); g_free (next_header_uri);
if (fragment) { if (fragment) {
buffer = gst_fragment_get_buffer (fragment); buffer = gst_fragment_get_buffer (fragment);
@ -1923,7 +1923,7 @@ gst_dash_demux_stream_download_fragment (GstDashDemux * demux,
fragment.range_start, fragment.range_end); fragment.range_start, fragment.range_end);
download = gst_uri_downloader_fetch_uri_with_range (stream->downloader, download = gst_uri_downloader_fetch_uri_with_range (stream->downloader,
fragment.uri, fragment.range_start, fragment.range_end, NULL); fragment.uri, FALSE, fragment.range_start, fragment.range_end, NULL);
if (download == NULL) { if (download == NULL) {
gst_media_fragment_info_clear (&fragment); gst_media_fragment_info_clear (&fragment);
@ -1955,7 +1955,7 @@ gst_dash_demux_stream_download_fragment (GstDashDemux * demux,
fragment.index_range_end); fragment.index_range_end);
download = download =
gst_uri_downloader_fetch_uri_with_range (stream->downloader, uri, gst_uri_downloader_fetch_uri_with_range (stream->downloader, uri,
fragment.index_range_start, fragment.index_range_end, NULL); FALSE, fragment.index_range_start, fragment.index_range_end, NULL);
if (download) { if (download) {
index_buffer = gst_fragment_get_buffer (download); index_buffer = gst_fragment_get_buffer (download);
if (index_buffer) if (index_buffer)