Commit 9f186108 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

stream_Demux: no need to block thread cancellation

The thread is not cancelled (ever since vlc_clone() replaced
vlc_thread_create()).
parent 2b58ea44
......@@ -271,7 +271,6 @@ static void* DStreamThread( void *obj )
stream_t *s = (stream_t *)obj;
stream_sys_t *p_sys = s->p_sys;
demux_t *p_demux;
int canc = vlc_savecancel();
/* Create the demuxer */
p_demux = demux_New( s, s->p_input, "", p_sys->psz_name, "", s, p_sys->out,
......@@ -291,6 +290,5 @@ static void* DStreamThread( void *obj )
demux_Delete( p_demux );
vlc_restorecancel( canc );
return NULL;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment