[vlc-devel] [PATCH] modules: on winstore we cannot save plugins.dat in the plugins folder
remi at remlab.net
Tue Sep 26 17:44:35 CEST 2017
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.
> We could store the result of the scan if we wanted. But we don't. So
> it's done at every run.
No we can´t. On most platforms and on any sanely configured system, that won´t
work due to permissions, and it only makes sense when adding or removing
More information about the vlc-devel