mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
mssdemux: Download the manifest with compression, the fragments without
This commit is contained in:
parent
48ba499ed2
commit
a11c6640bf
1 changed files with 4 additions and 2 deletions
|
@ -937,7 +937,8 @@ gst_mss_demux_reload_manifest (GstMssDemux * mssdemux)
|
|||
downloader = gst_uri_downloader_new ();
|
||||
|
||||
manifest_data =
|
||||
gst_uri_downloader_fetch_uri (downloader, mssdemux->manifest_uri, NULL);
|
||||
gst_uri_downloader_fetch_uri (downloader, mssdemux->manifest_uri, TRUE,
|
||||
NULL);
|
||||
manifest_buffer = gst_fragment_get_buffer (manifest_data);
|
||||
g_object_unref (manifest_data);
|
||||
|
||||
|
@ -1033,7 +1034,8 @@ gst_mss_demux_stream_download_fragment (GstMssDemuxStream * stream,
|
|||
|
||||
GST_DEBUG_OBJECT (mssdemux, "Got url '%s' for stream %p", url, stream);
|
||||
|
||||
fragment = gst_uri_downloader_fetch_uri (stream->downloader, url, NULL);
|
||||
fragment =
|
||||
gst_uri_downloader_fetch_uri (stream->downloader, url, FALSE, NULL);
|
||||
g_free (path);
|
||||
g_free (url);
|
||||
|
||||
|
|
Loading…
Reference in a new issue