Do not allow cancellation of hls_Thread().
stream_t *s = (stream_t *)p_this;
stream_sys_t *p_sys = s->p_sys;
stream_t *s = (stream_t *)p_this;
stream_sys_t *p_sys = s->p_sys;
+ int canc = vlc_savecancel();
+
while (vlc_object_alive(s))
{
hls_stream_t *hls = hls_Get(p_sys->hls_stream, p_sys->download.stream);
while (vlc_object_alive(s))
{
hls_stream_t *hls = hls_Get(p_sys->hls_stream, p_sys->download.stream);
vlc_mutex_unlock(&p_sys->download.lock_wait);
}
vlc_mutex_unlock(&p_sys->download.lock_wait);
}
+ vlc_restorecancel(canc);