[vlc-devel] [PATCH] es_out: use sout control only when sout is enabled

Alexandre Janniaux ajanni at videolabs.io
Fri Mar 13 13:05:02 CET 2020


Hi,

The goal for the WASM platform is to avoid downloading
plugins that are heavy and only use those that can be
baked by platform features.

Achieving that can be done only after libvlccore has been
downloaded, so libvlccore size immediately impact latency
and I don't think there is a huge trivial gain regarding
this. All opportunity to reduce useless code size is probably
welcome for the final user.

I agree for interfaces, but there is no current define to
disable it so IMHO the comparison doesn't apply, while the
ENABLE_SOUT already exists.

Regards,
--
Alexandre Janniaux
Videolabs

On Fri, Mar 13, 2020 at 01:01:56PM +0200, Rémi Denis-Courmont wrote:
> Le perjantaina 13. maaliskuuta 2020, 12.25.59 EET Alexandre Janniaux a écrit :
> > Hi,
> >
> > Ping,
> >
> > I believe that if we can reduce libvlccore size, even
> > slightly, the WASM platform would benefit a lot as it would
> > reduce page loads. Keeping the ENABLE_SOUT in the core seems
> > a good idea regarding that.
>
> I'm not really buying that argument. There are plenty of ways that code size
> could be shrunk, and SOUT is not the biggest (nor VLM). For one thing, a *lot*
> of code all over the place can only be triggered with VLC interfaces, and
> won't work inside any other LibVLC-based app.
>
> Not to even speak of code inside contribs, which dwarves the core and even the
> (non-GUI) plugins.
>
> The only reason for the ifdef's exist is that we a conditional for plugins
> anyway, so why not use it for the core too. The main argument against is that
> src/missing.c has caused a lot of stupid accidental build failures in the
> past, and will continue to do so as long as it is allowed to exist.
>
> --
> レミ・デニ-クールモン
> http://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