[vlc-devel] commit: Hildon UI: remove dummy lock acquisition ( 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:53:22 2009 +0200| [4a0cc5f3e83fdb49fdaba7da2ec284d54f8e992f] | committer: Rémi Denis-Courmont
Hildon UI: remove dummy lock acquisition
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4a0cc5f3e83fdb49fdaba7da2ec284d54f8e992f
---
modules/gui/maemo/maemo_callbacks.c | 3 ---
modules/gui/maemo/maemo_input.c | 3 ---
2 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/modules/gui/maemo/maemo_callbacks.c b/modules/gui/maemo/maemo_callbacks.c
index c14435c..cf63951 100644
--- a/modules/gui/maemo/maemo_callbacks.c
+++ b/modules/gui/maemo/maemo_callbacks.c
@@ -53,10 +53,7 @@ gboolean delete_event_cb( GtkWidget *widget,
(void)event; (void)user_data;
intf_thread_t *p_intf = get_intf_from_widget( widget );
- vlc_mutex_lock( &p_intf->change_lock );
libvlc_Quit( p_intf->p_libvlc );
- vlc_mutex_unlock( &p_intf->change_lock );
-
gtk_main_quit();
return TRUE;
diff --git a/modules/gui/maemo/maemo_input.c b/modules/gui/maemo/maemo_input.c
index bc1f468..de7ba98 100644
--- a/modules/gui/maemo/maemo_input.c
+++ b/modules/gui/maemo/maemo_input.c
@@ -90,12 +90,10 @@ void delete_input( intf_thread_t *p_intf )
void item_changed_pl( intf_thread_t *p_intf )
{
- vlc_mutex_lock( &p_intf->change_lock );
if( p_intf->p_sys->p_input &&
( p_intf->p_sys->p_input->b_dead || p_intf->p_sys->p_input->b_die ) )
{
delete_input( p_intf );
- vlc_mutex_unlock( &p_intf->change_lock );
return;
}
@@ -103,7 +101,6 @@ void item_changed_pl( intf_thread_t *p_intf )
{
set_input( p_intf, playlist_CurrentInput( p_intf->p_sys->p_playlist ) );
}
- vlc_mutex_unlock( &p_intf->change_lock );
return;
}
More information about the vlc-devel
mailing list