]> git.sesse.net Git - vlc/commitdiff
Do not hide an interface idle sleep from the compiler...
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 8 Sep 2008 20:00:09 +0000 (23:00 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 8 Sep 2008 20:17:25 +0000 (23:17 +0300)
modules/gui/macosx/intf.m

index 9782a192adc3ad1f16d38639bd038b69cd813445..8f4b88e69ef0dfb79f0870a218338faa967958db 100644 (file)
@@ -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];