Commit 31b183e8 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

WinCE: remove dummy locking

parent fbb29fc0
......@@ -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 )
......
......@@ -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 );
}
/*****************************************************************************
......
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