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 );
(LPARAM)_FROMMB(psz_time) );
}
}
-
- vlc_mutex_unlock( &p_intf->change_lock );
}
void Interface::OnChange( int wp )
vlc_value_t val;
char *shortname;
- vlc_mutex_lock( &p_intf->change_lock );
-
/* Update the input */
if( p_intf->p_sys->p_input == NULL )
{
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 );
}
/*****************************************************************************