[vlc-devel] [PATCH] GSoC: lua services discovery, final?

Fabio Ritrovato exsephiroth87 at gmail.com
Sun Jan 17 21:00:25 CET 2010


2010/1/17 Rémi Denis-Courmont <remi at remlab.net>:
>
> --sout has been using a configuration chain since its inception. Now filters
> do the same. Are you claiming that --sout does not work? I'm lost.

What I'm saying is that instead of using -S shoutcast, you will have
to use -S lua --lua-sd shoutcast, a little less intuitive...

> Interfaces are using whatever string is fed to them by the probe service. I
> have not tested with a configuration chain (obviously), but I see no reasons
> why it wouldn't work, so long as the probe sub-module formats the string
> right.

We still need to have 3 strings, and the current probe functions only
handle 2...
We need to know both the script name and the loading module, but we
can't have both right now or we'll lose the longname that's shown in
the interface.

> Anything that uses file paths.

Is vlclua_scripts_batch_execute() in modules/misc/lua/vlc.c UTF-8 safe?

> Testing that would be quite involved to say the least. It's best to check if
> the LUA interpreter, *and* the VLC callbacks into the LUA interpreter support
> it. But even that would be tedious given the amount of code. So that leaves
> you with the simplest and safest option: not to use vlc_cancel().

I'll just do that then...



More information about the vlc-devel mailing list