[vlc-commits] ncurses: use playlist_ViewPlay()

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


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 17:24:07 2017 +0300| [53bd82a9b600dfcf5454d3f080334a71c5e34670] | committer: Rémi Denis-Courmont

ncurses: use playlist_ViewPlay()

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

 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)



More information about the vlc-commits mailing list