]> git.sesse.net Git - vlc/commitdiff
The intf was being accessed indirectly from vout_Destroy.
authorJon Lech Johansen <jlj@videolan.org>
Thu, 1 Nov 2001 21:55:47 +0000 (21:55 +0000)
committerJon Lech Johansen <jlj@videolan.org>
Thu, 1 Nov 2001 21:55:47 +0000 (21:55 +0000)
This is a problem because the intf is currently destroyed
before the vout.

plugins/directx/vout_directx.c

index a10d3e5d4df26ec371fc5c19bdcad6da8e39bd2d..9a109125e6f77c144ad9dd777a4858bf7ab349ee 100644 (file)
@@ -2,7 +2,7 @@
  * vout_directx.c: Windows DirectX video output display method
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vout_directx.c,v 1.10 2001/08/05 15:32:46 gbazin Exp $
+ * $Id: vout_directx.c,v 1.11 2001/11/01 21:55:47 jlj Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -303,7 +303,7 @@ static void vout_Destroy( vout_thread_t *p_vout )
      * so we send a fake message */
     if( p_vout->p_sys->i_event_thread_status == THREAD_READY )
     {
-        PostMessage( p_vout->p_sys->hwnd, WM_CHAR, (WPARAM)'^', 0);
+        PostMessage( p_vout->p_sys->hwnd, WM_CHAR, (WPARAM)'q', 0);
         vlc_thread_join( p_vout->p_sys->event_thread_id );
     }