[vlc-commits] vlc.misc is only for interfaces (fix #3396)
Rémi Denis-Courmont
git at videolan.org
Wed Oct 12 21:29:00 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Oct 12 22:27:04 2011 +0300| [52d4b4bb1c4e919dd1f273995aea8343b83fbfaf] | committer: Rémi Denis-Courmont
vlc.misc is only for interfaces (fix #3396)
For instance, vlc.misc.should_die assumes that the object is an
interface.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52d4b4bb1c4e919dd1f273995aea8343b83fbfaf
---
modules/lua/extension.c | 1 -
modules/lua/meta.c | 1 -
modules/lua/services_discovery.c | 1 -
3 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/modules/lua/extension.c b/modules/lua/extension.c
index 8619910..6f3fe3a 100644
--- a/modules/lua/extension.c
+++ b/modules/lua/extension.c
@@ -828,7 +828,6 @@ static lua_State* GetLuaState( extensions_manager_t *p_mgr,
luaopen_input( L );
luaopen_md5( L );
luaopen_msg( L );
- luaopen_misc( L );
luaopen_net( L );
luaopen_object( L );
luaopen_osd( L );
diff --git a/modules/lua/meta.c b/modules/lua/meta.c
index 650fb0d..21706cf 100644
--- a/modules/lua/meta.c
+++ b/modules/lua/meta.c
@@ -71,7 +71,6 @@ static lua_State * init( vlc_object_t *p_this, input_item_t * p_item, const char
luaopen_strings( L );
luaopen_variables( L );
luaopen_object( L );
- luaopen_misc( L );
luaopen_xml( L );
luaopen_md5( L );
luaopen_input_item( L, p_item );
diff --git a/modules/lua/services_discovery.c b/modules/lua/services_discovery.c
index 4ee57c2..8ae108d 100644
--- a/modules/lua/services_discovery.c
+++ b/modules/lua/services_discovery.c
@@ -110,7 +110,6 @@ int Open_LuaSD( vlc_object_t *p_this )
luaL_register( L, "vlc", p_reg );
luaopen_input( L );
luaopen_msg( L );
- luaopen_misc( L );
luaopen_net( L );
luaopen_object( L );
luaopen_sd( L );
More information about the vlc-commits
mailing list