Make sure LUA RC has lower priority than classic RC
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jan 2010 19:59:39 +0000 (21:59 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 6 Jan 2010 20:01:15 +0000 (22:01 +0200)
LUA RC is buggy and polls the system every second.

modules/misc/lua/vlc.c

index 275fcc0..ca48ad6 100644 (file)
@@ -76,7 +76,7 @@ vlc_module_begin ()
         set_description( N_("Lua Interface Module (shortcuts)") )
         add_shortcut( "luarc" )
         add_shortcut( "rc" )
-        set_capability( "interface", 25 )
+        set_capability( "interface", 15 )
         set_callbacks( Open_LuaIntf, Close_LuaIntf )
 
     add_submodule ()