mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
adaptivedemux2: Don't blindly set the main manifest URI as referer
There's no guarantee it will *actually* be the URI which refered to what we are downloading. It could be a stream URI or anything else. Instead of putting something wrong, put no (specific) referer as a better choice Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5057>
This commit is contained in:
parent
ee43b6421e
commit
46d5a64117
1 changed files with 1 additions and 1 deletions
|
@ -1427,7 +1427,7 @@ gst_adaptive_demux2_stream_begin_download_uri (GstAdaptiveDemux * demux,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!downloadhelper_submit_request (demux->download_helper,
|
if (!downloadhelper_submit_request (demux->download_helper,
|
||||||
demux->manifest_uri, DOWNLOAD_FLAG_NONE, request, NULL))
|
NULL, DOWNLOAD_FLAG_NONE, request, NULL))
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
|
|
||||||
stream->download_active = TRUE;
|
stream->download_active = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue