[vlc-devel] commit: Use PLAYLIST_PLAY instead of PLAYLIST_AUTOPLAY. ( Rémi Duraffort )

git version control git at videolan.org
Sat Mar 8 19:17:00 CET 2008


vlc | branch: master | Rémi Duraffort <ivoire at via.ecp.fr> | Sat Mar  8 19:16:14 2008 +0100| [a418e6d37987a4f7508d0d3c945c5948e1af555f]

Use PLAYLIST_PLAY instead of PLAYLIST_AUTOPLAY.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a418e6d37987a4f7508d0d3c945c5948e1af555f
---

 modules/gui/qt4/qt4.cpp             |    2 +-
 modules/gui/wxwidgets/wxwidgets.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp
index 40fce2f..8deeca2 100644
--- a/modules/gui/qt4/qt4.cpp
+++ b/modules/gui/qt4/qt4.cpp
@@ -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 */
diff --git a/modules/gui/wxwidgets/wxwidgets.cpp b/modules/gui/wxwidgets/wxwidgets.cpp
index e671ee5..591b54e 100644
--- a/modules/gui/wxwidgets/wxwidgets.cpp
+++ b/modules/gui/wxwidgets/wxwidgets.cpp
@@ -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 );
         }
     }




More information about the vlc-devel mailing list