[vlc-devel] [PATCH 31/40] ncurses: use playlist_ViewPlay()

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


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

diff --git a/modules/gui/ncurses.c b/modules/gui/ncurses.c
index 0d5370425d..5c4d893303 100644
--- a/modules/gui/ncurses.c
+++ b/modules/gui/ncurses.c
@@ -1403,8 +1403,7 @@ static bool HandlePlaylistKey(intf_thread_t *intf, int key)
                 item = NULL;
             }
 
-            playlist_Control(p_playlist, PLAYLIST_VIEWPLAY, true,
-                             parent, item);
+            playlist_ViewPlay(p_playlist, parent, item);
         } else {   /* We only want to set the current node */
             playlist_Control(p_playlist, PLAYLIST_STOP, true);
             if (sys->node != NULL)
-- 
2.11.0



More information about the vlc-devel mailing list