[vlc-devel] [PATCH 0/7] provide detached video for windows

Pierre Lamot pierre at videolabs.io
Fri Aug 14 18:48:58 CEST 2020


this patch allows to detach the video from the interface and send it to a specific screen or another window.

implementation provided for window7 and window 10.

this patchset is written above the patchset "window seven integration"

Pierre Lamot (7):
  qt: distinguish enabled from video embed in video surface
  qt: add API to detach video surface in the Compositor
  qt: provide a detached window to render video in detached or
    fullscreen mode
  qt: allow video to be sent to a detached windows with DComp
  qt: add a model to select where video should be rendered
  qml: add render selection menu entries
  qt: provide detached video mode for win7

 modules/gui/qt/Makefile.am                    |   7 +
 modules/gui/qt/maininterface/compositor.hpp   |  29 +-
 .../gui/qt/maininterface/compositor_dcomp.cpp | 105 +++++++-
 .../gui/qt/maininterface/compositor_dcomp.hpp |  14 +-
 .../gui/qt/maininterface/compositor_dummy.cpp |  19 +-
 .../gui/qt/maininterface/compositor_dummy.hpp |   6 +-
 .../gui/qt/maininterface/compositor_win7.cpp  | 133 +++++++++-
 .../gui/qt/maininterface/compositor_win7.hpp  |  14 +-
 .../maininterface/detached_video_window.cpp   | 247 ++++++++++++++++++
 .../maininterface/detached_video_window.hpp   |  75 ++++++
 .../gui/qt/maininterface/main_interface.cpp   |   8 +-
 modules/gui/qt/maininterface/mainui.cpp       |   2 +
 modules/gui/qt/maininterface/videosurface.cpp |  20 +-
 modules/gui/qt/maininterface/videosurface.hpp |   9 +-
 modules/gui/qt/menus/qml/VideoMenu.qml        |   9 +
 modules/gui/qt/player/qml/ControlButtons.qml  |  51 +++-
 .../qt/util/video_surface_target_model.cpp    | 229 ++++++++++++++++
 .../qt/util/video_surface_target_model.hpp    |  63 +++++
 18 files changed, 1002 insertions(+), 38 deletions(-)
 create mode 100644 modules/gui/qt/maininterface/detached_video_window.cpp
 create mode 100644 modules/gui/qt/maininterface/detached_video_window.hpp
 create mode 100644 modules/gui/qt/util/video_surface_target_model.cpp
 create mode 100644 modules/gui/qt/util/video_surface_target_model.hpp

-- 
2.25.1



More information about the vlc-devel mailing list