[vlc-devel] [PATCH v2 06/11] lirc: use vlc_actions_do

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Aug 9 18:16:30 CEST 2017


From: Thomas Guillem <thomas at gllm.fr>

---
 modules/control/lirc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/lirc.c b/modules/control/lirc.c
index aa5accbc82..df4e2d0786 100644
--- a/modules/control/lirc.c
+++ b/modules/control/lirc.c
@@ -197,7 +197,7 @@ static void Process( intf_thread_t *p_intf )
             {
                 vlc_action_id_t i_key = vlc_actions_get_id( c );
                 if( i_key )
-                    var_SetInteger( p_intf->obj.libvlc, "key-action", i_key );
+                    vlc_actions_do( p_intf, i_key, true, 0 );
                 else
                     msg_Err( p_intf, "Unknown hotkey '%s'", c );
             }
-- 
2.11.0



More information about the vlc-devel mailing list