]> git.sesse.net Git - vlc/commitdiff
OSX interface: remove dummy lock acquisition
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 17 Mar 2009 18:52:16 +0000 (20:52 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 17 Mar 2009 18:52:16 +0000 (20:52 +0200)
It is only used from a single thread

modules/gui/macosx/intf.m

index a9f07da2fcdf3feaa8b4a6d3b4483418052cc25d..4eed5ad412de1806d8d330d87df4ba5066c8c42a 100644 (file)
@@ -1460,7 +1460,6 @@ static void manage_cleanup( void * args )
     while( true )
     {
         NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
-        vlc_mutex_lock( &p_intf->change_lock );
 
         if( !p_input )
         {
@@ -1490,8 +1489,6 @@ static void manage_cleanup( void * args )
         /* Manage volume status */
         [self manageVolumeSlider];
 
-        vlc_mutex_unlock( &p_intf->change_lock );
-
         msleep( INTF_IDLE_SLEEP );
 
         [pool release];