From 6cb7d138af0c3e1a82709b78a7891c5cf7d6a8d3 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 15 Mar 2021 20:18:06 +0100 Subject: Rename QGstreamerVideoWindow to QGstreamerVideoSink This will be able to handle non windowed output as well in the future. Change-Id: I99d3d2c2aefcbde4ef01c373fb6f92be4ab9b050 Reviewed-by: Doris Verria Reviewed-by: Lars Knoll --- src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp') diff --git a/src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp b/src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp index 73933ce43..c2bfd79fc 100644 --- a/src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp +++ b/src/multimedia/platform/gstreamer/common/qgstreamervideooutput.cpp @@ -39,7 +39,7 @@ #include #include -#include +#include #include #include @@ -113,7 +113,7 @@ void QGstreamerVideoOutput::setVideoSurface(QAbstractVideoSurface *surface) void QGstreamerVideoOutput::setVideoSink(QVideoSink *sink) { - auto *videoSink = static_cast(sink->platformVideoSink()); + auto *videoSink = static_cast(sink->platformVideoSink()); if (m_videoWindow) { gstPipeline.removeMessageFilter(static_cast(m_videoWindow)); gstPipeline.removeMessageFilter(static_cast(m_videoWindow)); -- cgit v1.2.3