[vlc-devel] [PATCH] modules: on winstore we cannot save plugins.dat in the plugins folder

Jean-Baptiste Kempf jb at videolan.org
Fri Oct 13 00:40:55 CEST 2017

Salut Steve,

On Wed, 27 Sep 2017, at 00:53, Steve Lhomme wrote:
> On Tue, Sep 26, 2017 at 5:44 PM, Rémi Denis-Courmont <remi at remlab.net>
> wrote:
> > Le tiistaina 26. syyskuuta 2017, 16.16.29 EEST Steve Lhomme a écrit :
> >> > We don't run the cache plugins at run-time on any platform anymore. This
> >> > is only there for hysterical raisins. That is über-slow and precisely it
> >> > violates permissions on most systems (really any system other than
> >> > Windows desktop and OS/2).
> >> Not sure what you mean by "run the cache"
> >
> > Writing the cache after loading all plugins manually is extremely slow,
> > especially on Windows (because PE format sucks so bad). Even now without this
> > problem, LibVLC instance creation spends most time recursing through the
> > plugins directories, so that will be removed in the near future as well. It is
> > only an artifact of the design before the plugins cache afterall.
> I wasn't aware we decided to not look for available modules on
> startup. How will modules be found then ?

The normal modules should be found using the cache, built at the first

But other modules from user dirs, should be parsed at startup, because
they would be only a few of them.


Jean-Baptiste Kempf -  President
+33 672 704 734

More information about the vlc-devel mailing list