[vlc-devel] [RFC PATCH 0/8] Allow renderer to change during playback V2

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Jul 19 16:17:40 CEST 2017


Hi,

This is the 2nd attempt at changing renderers during playback.
The demux filters are not removed from the chain anymore, but instead are disabled
I do realize that the first patch is the same than the older serie, but I really don't see any other way.

So far this works quite well in practice, and gives the user a much more pleasant experience when casting content

Regards,

Hugo Beauzée-Luyssen (8):
  input: Allow the sout to change on the fly
  input: Allow demux_filter to be enabled/disabled
  input: Add INPUT_CONTROL_SET_RENDERER
  playlist: Add playlist_SetRenderer
  input: Provide the potential renderer upon input item creation
  qt: actions_manager: Rework renderer handling
  chromecast: Implement DEMUX_FILTER_ENABLE/DISABLE
  chromecast_demux: Probe the actual demux for seeking capabilities

 include/vlc_demux.h                                |   3 +
 include/vlc_es_out.h                               |   1 +
 include/vlc_input.h                                |  11 ++-
 include/vlc_playlist.h                             |   8 ++
 lib/media_player.c                                 |   2 +-
 modules/gui/qt/actions_manager.cpp                 |  90 +++++++++---------
 modules/gui/qt/actions_manager.hpp                 |   2 +-
 modules/misc/fingerprinter.c                       |   2 +-
 modules/stream_out/chromecast/chromecast_demux.cpp |  30 +++++-
 src/Makefile.am                                    |   1 +
 src/input/control.c                                |   8 ++
 src/input/demux.c                                  |  30 ++++++
 src/input/demux.h                                  |   2 +
 src/input/es_out.c                                 |   9 ++
 src/input/es_out_timeshift.c                       |   3 +
 src/input/input.c                                  | 102 +++++++++++++++++++--
 src/input/input_internal.h                         |   3 +
 src/input/vlm.c                                    |   5 +-
 src/libvlccore.sym                                 |   1 +
 src/playlist/engine.c                              |   3 +
 src/playlist/playlist_internal.h                   |   1 +
 src/playlist/thread.c                              |   5 +-
 22 files changed, 252 insertions(+), 70 deletions(-)

-- 
2.11.0



More information about the vlc-devel mailing list