[vlc-devel] [PATCH 1/6] libvlc: create intf legacy playlist vars

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Tue Nov 27 13:28:53 CET 2018


---
 src/libvlc.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/src/libvlc.c b/src/libvlc.c
index 166bf96b94..2f8ded692e 100644
--- a/src/libvlc.c
+++ b/src/libvlc.c
@@ -414,6 +414,20 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
         free( psz_val );
     }
 
+    /* Callbacks between interfaces */
+
+    /* Create a variable for showing the right click menu */
+    var_Create(p_libvlc, "intf-popupmenu", VLC_VAR_BOOL);
+
+    /* Create a variable for showing the fullscreen interface */
+    var_Create(p_libvlc, "intf-toggle-fscontrol", VLC_VAR_VOID);
+
+    /* Create a variable for the Boss Key */
+    var_Create(p_libvlc, "intf-boss", VLC_VAR_VOID);
+
+    /* Create a variable for showing the main interface */
+    var_Create(p_libvlc, "intf-show", VLC_VAR_VOID);
+
     return VLC_SUCCESS;
 
 error:
-- 
2.19.1



More information about the vlc-devel mailing list