[vlc-devel] [PATCH] LuaSD: return the SD description from a function

Rémi Denis-Courmont remi at remlab.net
Fri Feb 19 11:10:16 CET 2010


On Fri, 19 Feb 2010 00:50:50 +0100, Fabio Ritrovato
<exsephiroth87 at gmail.com> wrote:
> Hi everyone,
> since we are now using compiled lua files, the current probing method
> won't work on them (using fopen() and reading a comment on the file ).
> This patch will run the script and use, if found, a description()
> function that returns the description, so it'll work on both .lua and
> .luac files...
> I just wanted an opionion, if it's ok to be commited...

I would have split the patch in two pieces, but it looks good to me.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list