[vlc-devel] commit: Qt4: remove dummy locking ( Rémi Denis-Courmont )
git version control
git at videolan.org
Tue Mar 17 20:02:45 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 17 20:54:15 2009 +0200| [fbb29fc03db1ee8a140478326b5c2315f3211dfb] | committer: Rémi Denis-Courmont
Qt4: remove dummy locking
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fbb29fc03db1ee8a140478326b5c2315f3211dfb
---
modules/gui/qt4/input_manager.cpp | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index f0b4a1c..5250354 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
{
More information about the vlc-devel
mailing list