Commit 901bde54 authored by Christophe Massiot's avatar Christophe Massiot

Fixed interface freezes in the OS X interface.

parent a82ee54f
......@@ -3,7 +3,7 @@
* This header provides portable declarations for mutexes & conditions
*****************************************************************************
* Copyright (C) 1999, 2002 VideoLAN
* $Id: vlc_threads.h,v 1.27 2003/02/06 21:39:34 titer Exp $
* $Id: vlc_threads.h,v 1.28 2003/02/06 23:55:28 massiot Exp $
*
* Authors: Jean-Marc Dressler <polux@via.ecp.fr>
* Samuel Hocevar <sam@via.ecp.fr>
......@@ -72,10 +72,10 @@
/* Thread priorities */
#ifdef SYS_DARWIN
# define VLC_THREAD_PRIORITY_LOW 31
# define VLC_THREAD_PRIORITY_LOW 32
# define VLC_THREAD_PRIORITY_INPUT 34
# define VLC_THREAD_PRIORITY_AUDIO 35
# define VLC_THREAD_PRIORITY_VIDEO 32
# define VLC_THREAD_PRIORITY_VIDEO 31
# define VLC_THREAD_PRIORITY_OUTPUT 33
#elif defined(WIN32) || defined(UNDER_CE)
......
......@@ -2,7 +2,7 @@
* intf.m: MacOS X interface plugin
*****************************************************************************
* Copyright (C) 2002-2003 VideoLAN
* $Id: intf.m,v 1.46 2003/02/05 16:23:06 hartman Exp $
* $Id: intf.m,v 1.47 2003/02/06 23:55:28 massiot Exp $
*
* Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
* Christophe Massiot <massiot@via.ecp.fr>
......@@ -360,7 +360,7 @@ int ExecuteOnMainThread( id target, SEL sel, void * p_arg )
addPort: p_intf->p_sys->o_sendport
forMode: NSDefaultRunLoopMode];
[NSTimer scheduledTimerWithTimeInterval: 0.1
[NSTimer scheduledTimerWithTimeInterval: 0.5
target: self selector: @selector(manageIntf:)
userInfo: nil repeats: TRUE];
......@@ -405,7 +405,7 @@ int ExecuteOnMainThread( id target, SEL sel, void * p_arg )
vlc_mutex_unlock( &p_intf->change_lock );
o_sleep_date = [NSDate dateWithTimeIntervalSinceNow: 0.1];
o_sleep_date = [NSDate dateWithTimeIntervalSinceNow: .5];
[NSThread sleepUntilDate: o_sleep_date];
}
......
......@@ -2,7 +2,7 @@
* input_ext-plugins.c: useful functions for access and demux plug-ins
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: input_ext-plugins.c,v 1.27 2003/01/25 03:12:20 fenrir Exp $
* $Id: input_ext-plugins.c,v 1.28 2003/02/06 23:55:29 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -145,7 +145,7 @@ void input_BuffersEnd( input_thread_t * p_input, input_buffers_t * p_buffers )
if( p_buffers->i_allocated )
{
msg_Err( p_input, "%d bytes have not been freed, "
msg_Err( p_input, "%u bytes have not been freed, "
"expect memory leak", p_buffers->i_allocated );
}
......
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