Commit b7d33a0d authored by Sam Hocevar's avatar Sam Hocevar

* ./include/vlc_threads_funcs.h, modules/video_output/directx/vout.c: Win32

    compilation fixes (typo, undeclared var).
parent 16f2ff86
......@@ -3,7 +3,7 @@
* This header provides a portable threads implementation.
*****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN
* $Id: vlc_threads_funcs.h,v 1.2 2002/08/30 12:23:23 sam Exp $
* $Id: vlc_threads_funcs.h,v 1.3 2002/08/30 19:16:05 sam Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
......@@ -355,6 +355,8 @@ static inline int __vlc_cond_broadcast( char * psz_file, int i_line,
i_result = st_cond_broadcast( p_condvar->cond );
#elif defined( WIN32 )
int i;
/* Release all waiting threads. */
if( !p_condvar->semaphore )
{
......
......@@ -2,7 +2,7 @@
* vout.c: Windows DirectX video output display method
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: vout.c,v 1.3 2002/08/29 23:53:22 massiot Exp $
* $Id: vout.c,v 1.4 2002/08/30 19:16:05 sam Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -141,7 +141,7 @@ int E_(OpenVideo) ( vlc_object_t *p_this )
p_vout->p_sys->p_event->p_vout = p_vout;
if( vlc_thread_create( p_vout->p_sys->p_event,
"DirectX Events Thread", DirectXEventThread,
VLC_THREAD_PRIORITY_LOW 1 ) )
VLC_THREAD_PRIORITY_LOW, 1 ) )
{
msg_Err( p_vout, "cannot create DirectXEventThread" );
vlc_object_destroy( p_vout->p_sys->p_event );
......
......@@ -2,7 +2,7 @@
# Copyright (C) 1995-1997, 2000, 2001 by Ulrich Drepper <drepper@gnu.ai.mit.edu>
#
# This file file be copied and used freely without restrictions. It can
# be used in projects which are not available under the GNU Public License
# be used in projects which are not available under the GNU General Public License
# but which still want to provide support for the GNU gettext functionality.
# Please note that the actual code is *not* freely available.
......
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