[vlc-devel] commit: Remote Control: use vlc_GetActionId ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Dec 30 20:52:21 CET 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Dec 30 21:37:27 2009 +0200| [ccb340ff446f071b6a16c19176fb7f7fa08266bf] | committer: Rémi Denis-Courmont
Remote Control: use vlc_GetActionId
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ccb340ff446f071b6a16c19176fb7f7fa08266bf
---
modules/control/rc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/control/rc.c b/modules/control/rc.c
index d57151b..7df6606 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -739,8 +739,8 @@ static void Run( intf_thread_t *p_intf )
}
else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) )
{
- var_SetInteger( p_intf->p_libvlc, "key-pressed",
- config_GetInt( p_intf, psz_arg ) );
+ var_SetInteger( p_intf->p_libvlc, "key-action",
+ vlc_GetActionId( psz_arg ) );
}
else switch( psz_cmd[0] )
{
More information about the vlc-devel
mailing list