From: RĂ©mi Denis-Courmont Date: Tue, 17 Mar 2009 18:54:15 +0000 (+0200) Subject: Qt4: remove dummy locking X-Git-Tag: 1.0.0-pre1~24 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fbb29fc03db1ee8a140478326b5c2315f3211dfb;p=vlc Qt4: remove dummy locking --- diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp index f0b4a1c5be..52503540ca 100644 --- a/modules/gui/qt4/input_manager.cpp +++ b/modules/gui/qt4/input_manager.cpp @@ -939,14 +939,12 @@ void MainInputManager::customEvent( QEvent *event ) /* Should be PLItemChanged Event */ if( !p_intf->p_sys->b_isDialogProvider ) { - vlc_mutex_lock( &p_intf->change_lock ); if( p_input && ( p_input->b_dead || !vlc_object_alive (p_input) ) ) { emit inputChanged( p_input ); var_DelCallback( p_input, "state", PLItemChanged, this ); vlc_object_release( p_input ); p_input = NULL; - vlc_mutex_unlock( &p_intf->change_lock ); return; } @@ -959,7 +957,6 @@ void MainInputManager::customEvent( QEvent *event ) emit inputChanged( p_input ); } } - vlc_mutex_unlock( &p_intf->change_lock ); } else {