From: Pierre d'Herbemont Date: Sat, 24 Mar 2007 22:21:08 +0000 (+0000) Subject: Gestures: Make sure we follow the locking strategy established in [19436]. X-Git-Tag: 0.9.0-test0~8021 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b3704c1e8d8b62e7f811ee8f5c39098261edc4a4;p=vlc Gestures: Make sure we follow the locking strategy established in [19436]. --- diff --git a/modules/control/gestures.c b/modules/control/gestures.c index 0d45d9d249..7710bc5774 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -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 ) {