]> git.sesse.net Git - vlc/commitdiff
Gestures: Make sure we follow the locking strategy established in [19436].
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 24 Mar 2007 22:21:08 +0000 (22:21 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 24 Mar 2007 22:21:08 +0000 (22:21 +0000)
modules/control/gestures.c

index 0d45d9d249e7d00cc0a67a2626233188a67e1758..7710bc57747124df1c58068e227dece2434c9202 100644 (file)
@@ -148,7 +148,10 @@ void E_(Close) ( vlc_object_t *p_this )
 static void RunIntf( intf_thread_t *p_intf )
 {
     playlist_t * p_playlist = NULL;
+    
+    vlc_mutex_lock( &p_intf->change_lock );
     p_intf->p_sys->p_vout = NULL;
+    vlc_mutex_unlock( &p_intf->change_lock );
 
     if( InitThread( p_intf ) < 0 )
     {