[vlc-devel] [PATCH 1/3] Fix a Segfault in LUA Services Discovery, adds documentation

Julien 'Lta' BALLET elthariel at gmail.com
Tue Jan 21 12:18:23 CET 2014


I've been working on a simple LUA based SD modules recently and
discovered many (all?) lua sd modules weren't loading correctly since
the initialization was done from another thread/lua interpreter
without the VLC API enabled in it (they are pretty useless at that
stage, since at initialization with just grab a few strings). This
requires some form of module lazy loading that wasn't implemented in
my reference module (icecast) or documented.

These init issue were actually hiding a segfault in the LUA SD that is
fixed in this patch. This patch also adds documentation/example for
the lazy-loading-of-module solution as well and implement the (very
simple solution) in icecast.lua.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-a-segfault-in-LUA-Service-Discovery-when-stack-w.patch
Type: text/x-patch
Size: 1558 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140121/d41dc360/attachment.bin>

More information about the vlc-devel mailing list