[vlc-devel] [PATCH 0/5] Autorun module capability
Thomas Guillem
thomas at gllm.fr
Fri Nov 20 20:59:31 CET 2020
Patch set LGTM.
Can this be used for some modules that need a global init function?
On Fri, Nov 20, 2020, at 19:09, Rémi Denis-Courmont wrote:
> Hi,
>
> This adds a new capability "autorun" to execute a callback when
> starting VLC. The point is two-fold:
> - avoid cluttering the executable and core library,
> - don't try to start modules that might not even be installed.
>
> There are other uses beyond those in the patch series. There are
> scenarii where this unfortunately will not work, notably to start the
> D-Bus interface or the Win32 message interface due to ordering.
>
> Rémi Denis-Courmont (5):
> vlc: run autorun modules at start-up
> hotkeys: use autorun to start
> netsync: use autorun to start
> netsync: appropriate --network-synchronisation
> xcb/global: use autorun to start
>
> bin/darwinvlc.m | 2 --
> bin/vlc.c | 4 ----
> bin/winvlc.c | 1 -
> modules/control/globalhotkeys/xcb.c | 9 +++++++++
> modules/control/hotkeys.c | 9 +++++++++
> modules/control/netsync.c | 17 +++++++++++++++++
> src/interface/interface.c | 18 ++++++++++++++++++
> src/libvlc-module.c | 8 --------
> src/libvlc.c | 3 ---
> 9 files changed, 53 insertions(+), 18 deletions(-)
>
> --
> Реми Дёни-Курмон
> 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