[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:58 CET 2014


On Tue, Jan 21, 2014 at 12:18 PM, Julien 'Lta' BALLET
<elthariel at gmail.com> wrote:
> Hi,
>
> 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.
>
> Regards,
> Julien.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Document-the-lazy-initialization-solution-for-the-do.patch
Type: text/x-patch
Size: 3390 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140121/856c63fe/attachment.bin>


More information about the vlc-devel mailing list