]> git.sesse.net Git - vlc/commitdiff
* plugins/directx/vout_directx.h: removed unused variables.
authorGildas Bazin <gbazin@videolan.org>
Tue, 30 Jul 2002 17:14:33 +0000 (17:14 +0000)
committerGildas Bazin <gbazin@videolan.org>
Tue, 30 Jul 2002 17:14:33 +0000 (17:14 +0000)
* plugins/directx/vout_events.c: fixed resizing bug.

plugins/directx/vout_directx.h
plugins/directx/vout_events.c

index 9a825ea4187de78abce4677b8e76c8ea33d70ffd..b11fd52a5b5884d75ace5f19a8ae1e0bba7691c3 100644 (file)
@@ -2,7 +2,7 @@
  * vout_directx.h: Windows DirectX video output header file
  *****************************************************************************
  * Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: vout_directx.h,v 1.10 2002/07/29 19:07:00 gbazin Exp $
+ * $Id: vout_directx.h,v 1.11 2002/07/30 17:14:33 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -81,9 +81,6 @@ struct vout_sys_t
     volatile mtime_t    i_lastmoved;
 
     event_thread_t *    p_event;
-
-    volatile int i_event_thread_status;         /* DirectXEventThread status */
-    volatile vlc_bool_t b_event_thread_die; /* flag to kill the event thread */
 };
 
 /*****************************************************************************
index cc56d1f3a423336854a2b9281d8060940dc55591..1ae03e7430cb6f83a6f8da03bb6c89c9f52501fa 100644 (file)
@@ -2,7 +2,7 @@
  * vout_events.c: Windows DirectX video output events handler
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: vout_events.c,v 1.24 2002/07/29 19:07:00 gbazin Exp $
+ * $Id: vout_events.c,v 1.25 2002/07/30 17:14:33 gbazin Exp $
  *
  * Authors: Gildas Bazin <gbazin@netcourrier.com>
  *
@@ -512,12 +512,12 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
 
         DirectXUpdateRects( p_vout );
         if( p_vout->p_sys->b_using_overlay &&
-            !p_vout->p_sys->b_event_thread_die )
+            !p_vout->p_sys->p_event->b_die )
             DirectXUpdateOverlay( p_vout );
 
         /* signal the size change */
         if( !p_vout->p_sys->b_using_overlay &&
-            !p_vout->p_sys->b_event_thread_die )
+            !p_vout->p_sys->p_event->b_die )
             p_vout->p_sys->i_changes |= VOUT_SIZE_CHANGE;
 
         return 0;