mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-21 05:26:23 +00:00
hlsdemux2: support old compilers
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3883>
This commit is contained in:
parent
1cede1d0cf
commit
b03e68ea8c
1 changed files with 2 additions and 1 deletions
|
@ -1285,10 +1285,11 @@ download_media_playlist (GstHLSDemuxStream * stream, gchar * orig_uri,
|
|||
GstAdaptiveDemux2Stream *base_stream = GST_ADAPTIVE_DEMUX2_STREAM (stream);
|
||||
GstAdaptiveDemux *demux = base_stream->demux;
|
||||
const gchar *main_uri = gst_adaptive_demux_get_manifest_ref_uri (demux);
|
||||
struct PlaylistDownloadParams dl_params;
|
||||
|
||||
retry:
|
||||
|
||||
struct PlaylistDownloadParams dl_params = { 0, };
|
||||
memset (&dl_params, 0, sizeof (struct PlaylistDownloadParams));
|
||||
|
||||
/* If there's no previous playlist, or the URI changed this
|
||||
* is not a refresh/update but a switch to a new playlist */
|
||||
|
|
Loading…
Reference in a new issue