]> git.sesse.net Git - vlc/commitdiff
Fix a few playlist_Control() calls. Thanks to AmiSyl in the forums.
authorAntoine Cellerier <dionoea@videolan.org>
Thu, 26 Jul 2007 18:00:03 +0000 (18:00 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Thu, 26 Jul 2007 18:00:03 +0000 (18:00 +0000)
modules/control/http/rpn.c

index d8ec6d33c279a7e18ca0fe1e38b241f42a57893a..8fc4520b8fbd3b8211279e2a30bdb28b0c911ec9 100644 (file)
@@ -503,22 +503,22 @@ void E_(EvaluateRPN)( intf_thread_t *p_intf, mvar_t  *vars,
         }
         else if( !strcmp( s, "vlc_stop" ) )
         {
-            playlist_Control( p_sys->p_playlist, VLC_TRUE, PLAYLIST_STOP );
+            playlist_Control( p_sys->p_playlist, PLAYLIST_STOP, VLC_TRUE );
             msg_Dbg( p_intf, "requested playlist stop" );
         }
         else if( !strcmp( s, "vlc_pause" ) )
         {
-            playlist_Control( p_sys->p_playlist, VLC_TRUE, PLAYLIST_PAUSE );
+            playlist_Control( p_sys->p_playlist, PLAYLIST_PAUSE, VLC_TRUE );
             msg_Dbg( p_intf, "requested playlist pause" );
         }
         else if( !strcmp( s, "vlc_next" ) )
         {
-            playlist_Control( p_sys->p_playlist, VLC_TRUE, PLAYLIST_SKIP, 1 );
+            playlist_Control( p_sys->p_playlist, PLAYLIST_SKIP, VLC_TRUE, 1 );
             msg_Dbg( p_intf, "requested playlist next" );
         }
         else if( !strcmp( s, "vlc_previous" ) )
         {
-            playlist_Control( p_sys->p_playlist, VLC_TRUE, PLAYLIST_SKIP, -1 );
+            playlist_Control( p_sys->p_playlist, PLAYLIST_SKIP, VLC_TRUE, -1 );
             msg_Dbg( p_intf, "requested playlist previous" );
         }
         else if( !strcmp( s, "vlc_seek" ) )