diff --git a/ext/hls/gsthlsdemux.c b/ext/hls/gsthlsdemux.c index 0f649b2c6b..eb238e1b21 100644 --- a/ext/hls/gsthlsdemux.c +++ b/ext/hls/gsthlsdemux.c @@ -858,7 +858,7 @@ retry: TRUE, TRUE, TRUE, err); g_free (main_uri); 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_main (demux->client)) { GError *err2 = NULL;