[vlc-devel] [PATCH 17/22] lirc: use vlc_actions_do

Hugo Beauzée-Luyssen hugo at beauzee.fr
Thu Aug 3 15:10:50 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..57f8704cdb 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 );
                 else
                     msg_Err( p_intf, "Unknown hotkey '%s'", c );
             }
-- 
2.11.0



More information about the vlc-devel mailing list