Commit a5e5d59b authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Gestures: Really remove unwanted commit. (Oops).

parent b2da51e4
...@@ -110,10 +110,6 @@ int E_(Open) ( vlc_object_t *p_this ) ...@@ -110,10 +110,6 @@ int E_(Open) ( vlc_object_t *p_this )
{ {
intf_thread_t *p_intf = (intf_thread_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 */ /* Allocate instance and initialize some members */
p_intf->p_sys = malloc( sizeof( intf_sys_t ) ); p_intf->p_sys = malloc( sizeof( intf_sys_t ) );
if( p_intf->p_sys == NULL ) if( p_intf->p_sys == NULL )
...@@ -170,6 +166,10 @@ static void RunIntf( intf_thread_t *p_intf ) ...@@ -170,6 +166,10 @@ static void RunIntf( intf_thread_t *p_intf )
{ {
playlist_t * p_playlist = NULL; 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 ) if( InitThread( p_intf ) < 0 )
{ {
msg_Err( p_intf, "can't initialize interface thread" ); msg_Err( p_intf, "can't initialize interface thread" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment