mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
hlsdemux2: Don't set a referer when updating playlists
In the same way we don't for regular playlists in the base class. If there is a referer specified by the app/user, the downloadhelper will set it accordingly. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3972>
This commit is contained in:
parent
3bbfab1cf3
commit
bead28ad5c
1 changed files with 1 additions and 3 deletions
|
@ -675,8 +675,6 @@ start_playlist_download (GstHLSDemuxPlaylistLoader * pl,
|
|||
GstHLSDemuxPlaylistLoaderPrivate * priv)
|
||||
{
|
||||
gboolean allow_skip = !priv->delta_merge_failed;
|
||||
|
||||
const gchar *base_uri = priv->base_uri;
|
||||
const gchar *orig_uri = priv->target_playlist_uri;
|
||||
|
||||
/* Can't download yet */
|
||||
|
@ -765,7 +763,7 @@ start_playlist_download (GstHLSDemuxPlaylistLoader * pl,
|
|||
priv->state = PLAYLIST_LOADER_STATE_LOADING;
|
||||
|
||||
if (!downloadhelper_submit_request (priv->download_helper,
|
||||
base_uri, DOWNLOAD_FLAG_COMPRESS | DOWNLOAD_FLAG_FORCE_REFRESH,
|
||||
NULL, DOWNLOAD_FLAG_COMPRESS | DOWNLOAD_FLAG_FORCE_REFRESH,
|
||||
priv->download_request, NULL)) {
|
||||
/* Failed to submit the download - could be invalid URI, but
|
||||
* could just mean the download helper was stopped */
|
||||
|
|
Loading…
Reference in a new issue