p_intf->p_sys->p_playlist = pl_Yield( p_intf );
p_intf->p_sys->p_sub = msg_Subscribe( p_intf );
- /* We support play on start */
- p_intf->b_play = true;
-
return VLC_SUCCESS;
}
{
intf_thread_t *p_intf = (intf_thread_t *)p_this;
- vlc_mutex_lock( &p_intf->object_lock );
+ vlc_object_lock( p_intf );
p_intf->b_dead = true;
- vlc_mutex_unlock( &p_intf->object_lock );
+ vlc_object_unlock( p_intf );
if( p_intf->p_sys->b_isDialogProvider )
{
app->installTranslator( &qtTranslator );
#endif //ENABLE_NLS
- /* Start playing if needed */
- if( !p_intf->pf_show_dialog && p_intf->b_play )
- {
- playlist_Control( THEPL, PLAYLIST_PLAY, false );
- }
-
/* Explain to the core how to show a dialog :D */
p_intf->pf_show_dialog = ShowDialog;