Commit ccb340ff authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remote Control: use vlc_GetActionId

parent 004e76c8
......@@ -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] )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment