[vlc-commits] oldrc: use playlist_ViewPlay()

Rémi Denis-Courmont git at videolan.org
Sun May 14 18:39:09 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 17:23:30 2017 +0300| [01381e219014a1461f35f3ccefd50b377d8f6bb8] | committer: Rémi Denis-Courmont

oldrc: use playlist_ViewPlay()

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

 modules/control/oldrc.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/control/oldrc.c b/modules/control/oldrc.c
index 083118cdd2..bed4d7d472 100644
--- a/modules/control/oldrc.c
+++ b/modules/control/oldrc.c
@@ -1270,8 +1270,7 @@ static int Playlist( vlc_object_t *p_this, char const *psz_cmd,
             p_item = p_parent = p_playlist->items.p_elems[i_pos-1];
             while( p_parent->p_parent )
                 p_parent = p_parent->p_parent;
-            playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked,
-                    p_parent, p_item );
+            playlist_ViewPlay( p_playlist, p_parent, p_item );
         }
         else
             msg_rc( vlc_ngettext("Playlist has only %u element",



More information about the vlc-commits mailing list