Commit 9963d667 authored by Rafaël Carré's avatar Rafaël Carré

VLM: be sure the input thread has terminated

parent abc8cabd
......@@ -532,6 +532,7 @@ static int vlm_OnMediaUpdate( vlm_t *p_vlm, vlm_media_sys_t *p_media )
msleep( 100000 );
input_StopThread( p_input );
vlc_thread_join( p_input );
vlc_object_release( p_input );
free( psz_header );
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