p_intf->p_sys->p_playlist = pl_Yield( p_intf );
p_intf->p_sys->p_sub = msg_Subscribe( p_intf, MSG_QUEUE_NORMAL );
+ p_intf->b_play = VLC_TRUE;
+
return VLC_SUCCESS;
}
if( p_intf->pf_show_dialog )
vlc_thread_ready( p_intf );
+ /* Start playing if needed */
+ if( !p_intf->pf_show_dialog && p_intf->b_play )
+ {
+ playlist_Control( THEPL, PLAYLIST_AUTOPLAY, VLC_FALSE );
+ }
+
app->setQuitOnLastWindowClosed( false );
app->exec();
MainInputManager::killInstance();