p_intf->b_should_run_on_first_thread = VLC_FALSE;
for( i = 0 ; i< i_options; i++ )
- var_OptionParse( p_this, ppsz_options[i] );
+ var_OptionParse( p_this, ppsz_options[i], true );
/* Choose the best module */
p_intf->psz_intf = strdup( psz_module );
{
msg_Err( p_intf, "no suitable interface module" );
free( p_intf->psz_intf );
- vlc_object_destroy( p_intf );
+ vlc_object_release( p_intf );
return NULL;
}
vlc_mutex_destroy( &p_intf->change_lock );
/* Free structure */
- vlc_object_destroy( p_intf );
+ vlc_object_release( p_intf );
}