]> git.sesse.net Git - vlc/commitdiff
WinCE: remove dummy locking
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 17 Mar 2009 18:54:29 +0000 (20:54 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 17 Mar 2009 18:54:29 +0000 (20:54 +0200)
modules/gui/wince/interface.cpp
modules/gui/wince/timer.cpp

index b97e766b1679ad9799a21246b86f0e5e6dff2158..8633fbe6478607cdcda1b52e7bab36d015ddced6 100644 (file)
@@ -733,7 +733,6 @@ void Interface::OnVideoOnTop( void )
 
 void Interface::OnSliderUpdate( int wp )
 {
-    vlc_mutex_lock( &p_intf->change_lock );
     input_thread_t *p_input = p_intf->p_sys->p_input;
 
     int dwPos = SendMessage( hwndSlider, TBM_GETPOS, 0, 0 );
@@ -770,8 +769,6 @@ void Interface::OnSliderUpdate( int wp )
                          (LPARAM)_FROMMB(psz_time) );
         }
     }
-
-    vlc_mutex_unlock( &p_intf->change_lock );
 }
 
 void Interface::OnChange( int wp )
index 2955f42defb81b3ba7518296f875f961d2cb0e6a..b7da9e9097b8604c61396a8f498af896e4532467 100644 (file)
@@ -90,8 +90,6 @@ void Timer::Notify( void )
     vlc_value_t val;
     char *shortname;
 
-    vlc_mutex_lock( &p_intf->change_lock );
-
     /* Update the input */
     if( p_intf->p_sys->p_input == NULL )
     {
@@ -219,14 +217,10 @@ void Timer::Notify( void )
 
     if( !vlc_object_alive( p_intf ) )
     {
-        vlc_mutex_unlock( &p_intf->change_lock );
-
         /* Prepare to die, young Skywalker */
 /*        p_main_interface->Close(TRUE);*/
         return;
     }
-
-    vlc_mutex_unlock( &p_intf->change_lock );
 }
 
 /*****************************************************************************