mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-06 14:32:31 +00:00
hlsdemux: abort playlist update when cancelled
Otherwise the download thread will get stuck, since the downloader is disabled.
This commit is contained in:
parent
ea27fe3032
commit
a4cb032355
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ retry:
|
||||||
TRUE, TRUE, TRUE, err);
|
TRUE, TRUE, TRUE, err);
|
||||||
g_free (main_uri);
|
g_free (main_uri);
|
||||||
if (download == NULL) {
|
if (download == NULL) {
|
||||||
if (update && !main_checked
|
if (!adaptive_demux->cancelled && update && !main_checked
|
||||||
&& gst_m3u8_client_has_variant_playlist (demux->client)
|
&& gst_m3u8_client_has_variant_playlist (demux->client)
|
||||||
&& gst_m3u8_client_has_main (demux->client)) {
|
&& gst_m3u8_client_has_main (demux->client)) {
|
||||||
GError *err2 = NULL;
|
GError *err2 = NULL;
|
||||||
|
|
Loading…
Reference in a new issue