From b2da51e41094c181ae1402972d4b02a5df98937c Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Sun, 25 Mar 2007 12:15:08 +0000 Subject: [PATCH] Gestures: Remove unwanted commit. --- modules/control/gestures.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/control/gestures.c b/modules/control/gestures.c index 9e7ccba9cf..8c8d17d7ac 100644 --- a/modules/control/gestures.c +++ b/modules/control/gestures.c @@ -110,6 +110,10 @@ int E_(Open) ( vlc_object_t *p_this ) { intf_thread_t *p_intf = (intf_thread_t *)p_this; + vlc_mutex_lock( &p_intf->change_lock ); + p_intf->p_sys->p_vout = NULL; + vlc_mutex_unlock( &p_intf->change_lock ); + /* Allocate instance and initialize some members */ p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); if( p_intf->p_sys == NULL ) -- 2.39.5