[vlc-devel] [PATCH 28/40] hotkeys: use playlist_ViewPlay(), fix aliasing

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


(The node parameter must be a playlist_item_t *, cannot be a void *.)
---
 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
-- 
2.11.0



More information about the vlc-devel mailing list