[vlc-devel] [PATCH 0/5] Autorun module capability

Rémi Denis-Courmont remi at remlab.net
Fri Nov 20 19:09:23 CET 2020


	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/





More information about the vlc-devel mailing list