Commit 8a8c1fca authored by Gildas Bazin's avatar Gildas Bazin

* plugins/directx/vout_directx.h: removed unused variables.
* plugins/directx/vout_events.c: fixed resizing bug.
parent 34607099
......@@ -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 */
};
/*****************************************************************************
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment