From dd3542aa4dfc39fd69369be5abfeabfc11205c46 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Wed, 15 Feb 2023 18:06:36 +0100 Subject: [PATCH] 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: --- .../ext/adaptivedemux2/gstadaptivedemux-stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c index 6a7ef5337c..457e3c0ade 100644 --- a/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c +++ b/subprojects/gst-plugins-good/ext/adaptivedemux2/gstadaptivedemux-stream.c @@ -1410,7 +1410,7 @@ gst_adaptive_demux2_stream_submit_request_default (GstAdaptiveDemux2Stream * GstAdaptiveDemux *demux = stream->demux; if (!downloadhelper_submit_request (demux->download_helper, - demux->manifest_uri, DOWNLOAD_FLAG_NONE, download_req, NULL)) + NULL, DOWNLOAD_FLAG_NONE, download_req, NULL)) return GST_FLOW_ERROR; return GST_FLOW_OK;