[vlc-commits] hotkeys: use playlist_ViewPlay(), fix aliasing

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


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

hotkeys: use playlist_ViewPlay(), fix aliasing

(The node parameter must be a playlist_item_t *, cannot be a void *.)

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

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

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index c20ee7fa2c..363eecda07 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -1432,8 +1432,7 @@ static void PlayBookmark( intf_thread_t *p_intf, int i_num )
         if( !strcmp( psz_bookmark, psz_uri ) )
         {
             free( psz_uri );
-            playlist_Control( p_playlist, PLAYLIST_VIEWPLAY, pl_Locked,
-                              NULL, p_item );
+            playlist_ViewPlay( p_playlist, NULL, p_item );
             break;
         }
         else



More information about the vlc-commits mailing list