* This header provides portable declarations for mutexes & conditions
*****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN
- * $Id: vlc_threads.h,v 1.11 2002/08/30 12:23:23 sam Exp $
+ * $Id: vlc_threads.h,v 1.12 2002/09/01 21:20:29 massiot Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
/* Thread priorities */
#ifdef SYS_DARWIN
-# define VLC_THREAD_PRIORITY_LOW 10
+# define VLC_THREAD_PRIORITY_LOW 0
# define VLC_THREAD_PRIORITY_INPUT 37
# define VLC_THREAD_PRIORITY_AUDIO 38
+# define VLC_THREAD_PRIORITY_VIDEO 36
# define VLC_THREAD_PRIORITY_OUTPUT 38
#elif defined(WIN32)
# define VLC_THREAD_PRIORITY_LOW 0
# define VLC_THREAD_PRIORITY_INPUT THREAD_PRIORITY_ABOVE_NORMAL
# define VLC_THREAD_PRIORITY_AUDIO THREAD_PRIORITY_ABOVE_NORMAL
+# define VLC_THREAD_PRIORITY_VIDEO 0
# define VLC_THREAD_PRIORITY_OUTPUT THREAD_PRIORITY_ABOVE_NORMAL
#else
# define VLC_THREAD_PRIORITY_LOW 0
# define VLC_THREAD_PRIORITY_INPUT 0
# define VLC_THREAD_PRIORITY_AUDIO 0
+# define VLC_THREAD_PRIORITY_VIDEO 0
# define VLC_THREAD_PRIORITY_OUTPUT 0
#endif
* input_dec.c: Functions for the management of decoders
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: input_dec.c,v 1.46 2002/08/29 23:53:22 massiot Exp $
+ * $Id: input_dec.c,v 1.47 2002/09/01 21:20:29 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
}
else
{
- i_priority = VLC_THREAD_PRIORITY_LOW;
+ i_priority = VLC_THREAD_PRIORITY_VIDEO;
}
/* Spawn the decoder thread */