]> git.sesse.net Git - vlc/blobdiff - modules/video_output/msw/directx.c
modules: use vlc_object_alive()
[vlc] / modules / video_output / msw / directx.c
index cd8ed738c6450cde3a6bd868830b5db81172ee6e..aab3e883c725e34ccf0bee7f4be9798c4b9a5926 100644 (file)
@@ -691,7 +691,7 @@ static int Manage( vout_thread_t *p_vout )
     }
 
     /* Check if the event thread is still running */
-    if( p_vout->p_sys->p_event->b_die )
+    if( !vlc_object_alive (p_vout->p_sys->p_event) )
     {
         return VLC_EGENERIC; /* exit */
     }