[vlc-devel] [PATCH] modules: on winstore we cannot save plugins.dat in the plugins folder
remi at remlab.net
Fri Sep 29 14:59:03 CEST 2017
Le keskiviikkona 27. syyskuuta 2017, 9.53.09 EEST Steve Lhomme a écrit :
> > 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 ?
By reading the cache.
> Do we still support plugins.dat ?
Of course, to remove recursion, we need to get the module list from somewhere
else. plugins.dat is that somewhere else.
> How is it supposed to work for libvlc users,
That makes no differences now and it will not make a difference then either.
VLC and LibVLC apps load the module bank the same way, and always have.
> especially on mobile platforms?
If you are referring to statically linked modules, they do not use recursion
nor cache at the moment, so they are not concerned.
More information about the vlc-devel