mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 11:55:39 +00:00
adaptivedemux: Actually use the byte range for the fragment url
Otherwise we would always download the full fragment. This would make handling subsegments in DASH impossible.
This commit is contained in:
parent
5c3a87c117
commit
9b260d1ba5
1 changed files with 3 additions and 1 deletions
|
@ -1720,7 +1720,9 @@ gst_adaptive_demux_stream_download_fragment (GstAdaptiveDemuxStream * stream)
|
|||
url = stream->fragment.uri;
|
||||
GST_DEBUG_OBJECT (stream->pad, "Got url '%s' for stream %p", url, stream);
|
||||
if (url) {
|
||||
ret = gst_adaptive_demux_stream_download_uri (demux, stream, url, 0, -1);
|
||||
ret =
|
||||
gst_adaptive_demux_stream_download_uri (demux, stream, url,
|
||||
stream->fragment.range_start, stream->fragment.range_end);
|
||||
GST_DEBUG_OBJECT (stream->pad, "Fragment download result: %d %s",
|
||||
stream->last_ret, gst_flow_get_name (stream->last_ret));
|
||||
if (ret == GST_FLOW_OK) {
|
||||
|
|
Loading…
Reference in a new issue