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

Steve Lhomme robux4 at gmail.com
Wed Sep 27 09:53:09 CEST 2017

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 ?

Do we still support plugins.dat ? How is it supposed to work for
libvlc users, especially on mobile platforms ?

>> 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
> plugins anyway.
> --
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list