[vlc-devel] commit: Lua SD: add longname option (Close #3323) (Fabio Ritrovato )
git version control
git at videolan.org
Tue Feb 23 13:59:26 CET 2010
vlc | branch: master | Fabio Ritrovato <sephiroth87 at videolan.org> | Tue Feb 23 13:58:59 2010 +0100| [44c53d0e284565d60cbd40c51f3b961d83ba04ea] | committer: Fabio Ritrovato
Lua SD: add longname option (Close #3323)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44c53d0e284565d60cbd40c51f3b961d83ba04ea
---
modules/misc/lua/services_discovery.c | 2 +-
modules/misc/lua/vlc.c | 1 +
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/misc/lua/services_discovery.c b/modules/misc/lua/services_discovery.c
index dc70966..f5e21fd 100644
--- a/modules/misc/lua/services_discovery.c
+++ b/modules/misc/lua/services_discovery.c
@@ -36,7 +36,7 @@
*****************************************************************************/
static void *Run( void * );
-static const char * const ppsz_sd_options[] = { "sd", NULL };
+static const char * const ppsz_sd_options[] = { "sd", "longname", NULL };
/*****************************************************************************
* Local structures
diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 6c32015..181acd2 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -122,6 +122,7 @@ vlc_module_begin ()
add_shortcut( "luasd" )
set_capability( "services_discovery", 0 )
add_string( "lua-sd", "", NULL, "", "", false )
+ add_string( "lua-longname", "", NULL, "", "", false )
set_callbacks( Open_LuaSD, Close_LuaSD )
add_submodule ()
More information about the vlc-devel
mailing list