[vlc-devel] commit: remove on more b_dead old use (Geoffroy Couprie )

git version control git at videolan.org
Wed Sep 17 11:28:24 CEST 2008


vlc | branch: master | Geoffroy Couprie <geo.couprie at gmail.com> | Wed Sep 17 01:35:22 2008 +0200| [43ffaaf1868a5ba29078ad5a0c650e183616c274] | committer: Geoffroy Couprie 

remove on more b_dead old use

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=43ffaaf1868a5ba29078ad5a0c650e183616c274
---

 modules/video_output/msw/events.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index e637ccb..5bf5031 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -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 );




More information about the vlc-devel mailing list