]> git.sesse.net Git - vlc/commitdiff
Use PLAYLIST_PLAY instead of PLAYLIST_AUTOPLAY.
authorRémi Duraffort <ivoire@via.ecp.fr>
Sat, 8 Mar 2008 18:16:14 +0000 (19:16 +0100)
committerRémi Duraffort <ivoire@via.ecp.fr>
Sat, 8 Mar 2008 18:16:14 +0000 (19:16 +0100)
modules/gui/qt4/qt4.cpp
modules/gui/wxwidgets/wxwidgets.cpp

index 40fce2fa4eea5c7b62fcf9606f0bafab058035e9..8deeca222eb10f375ca3d42e28260d09872b3e7f 100644 (file)
@@ -347,7 +347,7 @@ static void Init( intf_thread_t *p_intf )
     /* Start playing if needed */
     if( !p_intf->pf_show_dialog && p_intf->b_play )
     {
-        playlist_Control( THEPL, PLAYLIST_AUTOPLAY, VLC_FALSE );
+        playlist_Control( THEPL, PLAYLIST_PLAY, VLC_FALSE );
     }
 
     /* Explain to the core how to show a dialog :D */
index e671ee559753d2592878580bdd5c106a86b7b24d..591b54e76b7e01e1fa7052ef666b9900cf2cfe1c 100644 (file)
@@ -401,7 +401,7 @@ bool Instance::OnInit()
                                            FIND_ANYWHERE );
         if( p_playlist )
         {
-            playlist_Control( p_playlist, PLAYLIST_AUTOPLAY, VLC_FALSE );
+            playlist_Control( p_playlist, PLAYLIST_PLAY, VLC_FALSE );
             vlc_object_release( p_playlist );
         }
     }