[vlc-devel] [PATCH] modules: do not recurse into plugin directories
Jean-Baptiste Kempf
jb at videolan.org
Mon Oct 31 15:42:12 CET 2016
On Mon, 31 Oct 2016, at 07:37, Felix Paul Kühne wrote:
> > On 27 Oct 2016, at 21:14, Rémi Denis-Courmont <remi at remlab.net> wrote:
> > Le torstaina 27. lokakuuta 2016, 12.05.30 EEST Jean-Baptiste Kempf a écrit :
> >> Hello,
> >>
> >> On Thu, 27 Oct 2016, at 12:00, Rémi Denis-Courmont wrote:
> >>> This speeds up LibVLC initialization significantly.
> >>> (On my primary system, a reduction of about 60% in run time.)
> >>
> >> What does it mean for us? That all the plugins should be in a single
> >> folder?
> >
> > No, you can have as many base directories as you want, with as many
> > subdirectories as you want, as before.
> >
> > But it means that plugins not in the cache won´t be loaded.
>
> In other words, I need to force-update my cache after adding a plugin?
I'd argue that we should have 2 types of folders:
- system ones that should not be rescanned, until cache-gen is run,
- users ones that should be rescanned.
BR,
--
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel
mailing list