Commit 608f4b5b authored by Jon Lech Johansen's avatar Jon Lech Johansen

The intf was being accessed indirectly from vout_Destroy.

This is a problem because the intf is currently destroyed
before the vout.
parent bd4d55d7
......@@ -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 );
}
......
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