Commit 1f8cb7bb authored by Gildas Bazin's avatar Gildas Bazin

* modules/video_output/directx/events.c: fixed deadlock when switching deinterlacing mode.

parent 4b13c40d
......@@ -455,6 +455,9 @@ static int DirectXCreateWindow( vout_thread_t *p_vout )
/* We don't want the window owner to overwrite our client area */
i_style = GetWindowLong( p_vout->p_sys->hparent, GWL_STYLE );
if( !(i_style & WS_CLIPCHILDREN) )
/* Hmmm, apparently this is a blocking call... */
SetWindowLong( p_vout->p_sys->hparent, GWL_STYLE,
i_style | WS_CLIPCHILDREN );
......
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