]> git.sesse.net Git - vlc/commitdiff
remove on more b_dead old use
authorGeoffroy Couprie <geo.couprie@gmail.com>
Tue, 16 Sep 2008 23:35:22 +0000 (01:35 +0200)
committerGeoffroy Couprie <geo.couprie@gmail.com>
Wed, 17 Sep 2008 09:31:16 +0000 (11:31 +0200)
modules/video_output/msw/events.c

index e637ccb52489ddc3e3efc1c1da3e584994aadc46..5bf50319e1c03f2ac68ba62392d39919b84ff47c 100644 (file)
@@ -115,7 +115,10 @@ void* EventThread( vlc_object_t *p_this )
     /* Creating a window under Windows also initializes the thread's event
      * message queue */
     if( DirectXCreateWindow( p_event->p_vout ) )
-        p_event->b_dead = true;
+    {
+        vlc_restorecancel (canc);
+        return NULL;
+    }
 
     /* Signal the creation of the window */
     vlc_thread_ready( p_event );