Commit 375a14aa authored by Geoffroy Couprie's avatar Geoffroy Couprie

Direct3D: don't forget to initialize the mutex

parent 7c4ca246
......@@ -406,6 +406,7 @@ static int Manage( vout_thread_t *p_vout )
/* Open the direct3d output and attaches it to the new window */
p_vout->p_sys->b_desktop = !p_vout->p_sys->b_desktop;
p_vout->pf_display = FirstDisplay;
vlc_mutex_init( &p_vout->p_sys->lock );
CreateEventThread( p_vout );
Init( p_vout );
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