[vlc-devel] [PATCH] GSoC: lua services discovery, core part

Fabio Ritrovato exsephiroth87 at gmail.com
Tue Nov 24 23:54:41 CET 2009


2009/11/9 Rémi Denis-Courmont <remi at remlab.net>:
> I'm saying that you the module entry MUST return the EXACT SAME results any
> time it is called during the lifetime of a VLC process. Otherwise CacheMerge()
> can trigger crashes and weird errors. Hence your current patch won't work.
>
> On top of that, working around the cache causes performance degration, so it's
> best avoided. But that's only a secondary issue.

So, I was trying to find an alternative way of making it work without
disabling the cache, but I can't find any issue with CacheMerge()...
The module descriptor is only run once when vlc starts, and CacheMerge
will use that data, so even if you were to add some scripts, hence
"changing" the module descriptor, VLC wouldn't notice until the next
start.
So, will it be ok if the plugin is dlopened every time it finds a new
script, and cached all the other times?



More information about the vlc-devel mailing list