[vlc-devel] [PATCH 0/3] Live update of the output playback

Steve Lhomme robux4 at videolabs.io
Tue Apr 26 15:10:54 CEST 2016


This 3 patches add the possibility to set the current renderer while playback
is running.

Compared to previous patches, the "sout" variable that is set by the UI is on
the playlist object and not directly libvlc. The input thread output chain is
reset via the new input_RequestUpdateOutput() callback.

Since we're using ES_OUT_RESTART_ES(NULL), the following patch needs to be applied
https://patches.videolan.org/patch/13063/

Steve Lhomme (3):
  [RFC] input: add input_RequestUpdateOutput() to notify the output
    config changed
  [RFC] playlist: add an interim "sout" so that the running input thread
    can be updated
  gui:qt: add a dialog to select the renderer to use

 include/vlc_input.h                           |   7 +
 include/vlc_interface.h                       |   1 +
 include/vlc_intf_strings.h                    |   1 +
 modules/gui/qt/Makefile.am                    |   5 +
 modules/gui/qt/actions_manager.cpp            |   3 +
 modules/gui/qt/actions_manager.hpp            |   1 +
 modules/gui/qt/components/controller.cpp      |   4 +
 modules/gui/qt/components/controller.hpp      |  13 +-
 modules/gui/qt/dialogs/renderer.cpp           | 258 ++++++++++++++++++++++++++
 modules/gui/qt/dialogs/renderer.hpp           |  64 +++++++
 modules/gui/qt/dialogs_provider.cpp           |   8 +
 modules/gui/qt/dialogs_provider.hpp           |   3 +
 modules/gui/qt/menus.cpp                      |   5 +
 modules/gui/qt/pixmaps/toolbar/chromecast.png | Bin 0 -> 286 bytes
 modules/gui/qt/ui/renderer.ui                 |  54 ++++++
 modules/gui/qt/vlc.qrc                        |   1 +
 src/input/input.c                             |  37 ++++
 src/input/input_internal.h                    |   1 +
 src/libvlccore.sym                            |   1 +
 src/playlist/engine.c                         |  21 +++
 20 files changed, 485 insertions(+), 3 deletions(-)
 create mode 100644 modules/gui/qt/dialogs/renderer.cpp
 create mode 100644 modules/gui/qt/dialogs/renderer.hpp
 create mode 100644 modules/gui/qt/pixmaps/toolbar/chromecast.png
 create mode 100644 modules/gui/qt/ui/renderer.ui

-- 
2.7.0



More information about the vlc-devel mailing list