[vlc-devel] [PATCH 33/40] skins2: use playlist_ViewPlay()

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


---
 modules/gui/skins2/vars/playtree.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/gui/skins2/vars/playtree.cpp b/modules/gui/skins2/vars/playtree.cpp
index 768dd24907..fcedca29c5 100644
--- a/modules/gui/skins2/vars/playtree.cpp
+++ b/modules/gui/skins2/vars/playtree.cpp
@@ -80,8 +80,7 @@ void Playtree::action( VarTree *pElem )
         playlist_ItemGetById( m_pPlaylist, pElem->getId() );
     if( pItem )
     {
-        playlist_Control( m_pPlaylist, PLAYLIST_VIEWPLAY,
-                          pl_Locked, pItem->p_parent, pItem );
+        playlist_ViewPlay( m_pPlaylist, pItem->p_parent, pItem );
     }
 
     playlist_Unlock( m_pPlaylist );
-- 
2.11.0



More information about the vlc-devel mailing list