[vlc-devel] [PATCH] Removed non working function from Lua common module

Vicente Jiménez googuy at gmail.com
Thu Aug 20 12:26:40 CEST 2009


I've tried to use this function and I get an error because
vlc.callbacks is nil instead of a table.
I've also tried to use vlc.callbacks directly in Lua and look for
vlc.callbacks object definition in the source code without success.

Could anybody point me how to use this function or where to look in
the source code?
Otherwise, if I'm right and vlc.callbacks doesn't exist as a Lua VLC
extension, please, apply the patch.

Thanks

On Mon, Aug 3, 2009 at 10:53 AM, Antoine Cellerier<dionoea at videolan.org> wrote:
> On Fri, Jul 31, 2009, Vicente Jiménez wrote:
>> It's really a question:
>> is vlc.callbacks valid in Lua?
>> It's not documented and I haven't found any (other) reference in source code.
>> If it's not valid then the attached patch could be of interest.
>
> The vlc.callbacks variable is used internally by VLC to store lua
> callbacks registered on VLC variables. It's kind of a hack. Anyway,
> removing that print function from the lua code looks fine to me.
>
> Regards,
>
> --
> Antoine Cellerier
> dionoea
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel
>



More information about the vlc-devel mailing list