[vlc-devel] [PATCH 29/40] oldrc: use playlist_ViewPlay()

RĂ©mi Denis-Courmont remi at remlab.net
Sun May 14 17:45:59 CEST 2017


---
 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",
-- 
2.11.0



More information about the vlc-devel mailing list