summaryrefslogtreecommitdiffstats
path: root/src/gsttools/gsttools.pro
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2015-07-23 15:13:24 +0200
committerYoann Lopes <yoann.lopes@theqtcompany.com>2015-08-18 13:16:50 +0000
commitcd3d5405225a328a0b2fa377823059723395a2ea (patch)
treeda97a803a0e0e2cf13094caa068db91cb68b257d /src/gsttools/gsttools.pro
parent13e40d522f6992d7fff38581e4b0005129669bde (diff)
GStreamer: refactored widget and window control.
Instead of always using xvimagesink as GStreamer backend for the widget and window control (works only with X11), we now try to pick a video sink that fits the current configuration. It first tries a set of known video sinks that can work with the Qt platform plugin in use. If none is available, it dynamically picks a video sink available on the system that can be used with our backend. Even if the video sink is now picked in a smarter way, xcb is still the only supported platform plugin. The reason is that it's the only Unix plugin which can provide a valid native window handle. Additional work is needed to support other plugins like wayland or directfb. Change-Id: I3843dea363d6a0b85a6cc1f2952783b743e48ac6 Reviewed-by: Christian Stromme <christian.stromme@theqtcompany.com>
Diffstat (limited to 'src/gsttools/gsttools.pro')
-rw-r--r--src/gsttools/gsttools.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gsttools/gsttools.pro b/src/gsttools/gsttools.pro
index 7c41f1ad1..a5c1d9493 100644
--- a/src/gsttools/gsttools.pro
+++ b/src/gsttools/gsttools.pro
@@ -53,7 +53,8 @@ PRIVATE_HEADERS += \
qgstcodecsinfo_p.h \
qgstreamervideoprobecontrol_p.h \
qgstreameraudioprobecontrol_p.h \
- qgstreamervideowindow_p.h
+ qgstreamervideowindow_p.h \
+ qgstreamervideooverlay_p.h
SOURCES += \
qgstreamerbushelper.cpp \
@@ -68,7 +69,8 @@ SOURCES += \
qgstcodecsinfo.cpp \
qgstreamervideoprobecontrol.cpp \
qgstreameraudioprobecontrol.cpp \
- qgstreamervideowindow.cpp
+ qgstreamervideowindow.cpp \
+ qgstreamervideooverlay.cpp
qtHaveModule(widgets) {
QT += multimediawidgets