* This header provides portable declarations for mutexes & conditions
*****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN
- * $Id: vlc_threads.h,v 1.24 2003/01/29 14:03:07 gbazin Exp $
+ * $Id: vlc_threads.h,v 1.25 2003/01/30 00:39:41 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 32
-# define VLC_THREAD_PRIORITY_INPUT 35
-# define VLC_THREAD_PRIORITY_AUDIO 36
-# define VLC_THREAD_PRIORITY_VIDEO 31
-# define VLC_THREAD_PRIORITY_OUTPUT 31
+# define VLC_THREAD_PRIORITY_INPUT 36
+# define VLC_THREAD_PRIORITY_AUDIO 37
+# define VLC_THREAD_PRIORITY_VIDEO 33
+# define VLC_THREAD_PRIORITY_OUTPUT 34
#elif defined(WIN32) || defined(UNDER_CE)
/* Define different priorities for WinNT/2K/XP and Win9x/Me */
* vpar_headers.c : headers parsing
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: headers.c,v 1.7 2003/01/15 13:16:39 sam Exp $
+ * $Id: headers.c,v 1.8 2003/01/30 00:39:41 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Stéphane Borel <stef@via.ecp.fr>
p_vpar->picture.b_top_field_first
: ( p_vpar->picture.b_frame_structure + 1 ) +
p_vpar->picture.b_repeat_first_field;
- for( i_dummy = 0; i_dummy < i_nb; i_dummy++ )
+ for( i_dummy = 0; i_dummy < i_nb && !p_vpar->p_fifo->b_die
+ && !p_vpar->p_fifo->b_error; i_dummy++ )
{
RemoveBits( &p_vpar->bit_stream, 17 );
RemoveBits( &p_vpar->bit_stream, 17 );
* intf.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
- * $Id: intf.m,v 1.38 2003/01/29 11:34:11 jlj Exp $
+ * $Id: intf.m,v 1.39 2003/01/30 00:39:41 massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
intf_thread_t * p_intf = [NSApp getIntf];
NSAutoreleasePool * o_pool = [[NSAutoreleasePool alloc] init];
+ vlc_thread_set_priority( p_intf, VLC_THREAD_PRIORITY_LOW );
+
while( !p_intf->b_die )
{
int i_start, i_stop;