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

Steve Lhomme robux4 at gmail.com
Tue Oct 17 16:26:25 CEST 2017


On Fri, Oct 13, 2017 at 12:40 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> 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
> install.
>
> But other modules from user dirs, should be parsed at startup, because
> they would be only a few of them.

How is this supposed to work with libvlc ? Do we have to provide a
vlc-cache-gen.exe with it ? It may not be possible to run on some
sandboxed platforms with tight rights.

> Best,
>
> --
> Jean-Baptiste Kempf -  President
> +33 672 704 734
> _______________________________________________
> 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