[vlc-devel] commit: Do not hide an interface idle sleep from the compiler... ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Sep 8 22:14:04 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Mon Sep  8 23:00:09 2008 +0300| [eaddfc0bd90b5b87d284015dfecffd49eea22d22] | committer: Rémi Denis-Courmont 

Do not hide an interface idle sleep from the compiler...

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eaddfc0bd90b5b87d284015dfecffd49eea22d22
---

 modules/gui/macosx/intf.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 9782a19..8f4b88e 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -1397,7 +1397,7 @@ static void * ManageThread( void *user_data )
 
         vlc_mutex_unlock( &p_intf->change_lock );
 
-        vlc_object_timedwait( p_intf, 100000 + mdate());
+        msleep( INTF_IDLE_SLEEP );
     }
     vlc_object_unlock( p_intf );
     [o_pool release];




More information about the vlc-devel mailing list