From f308447cc262a492a4c6740febc03b4567d3055e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Thu, 9 Dec 2021 17:53:29 +0200 Subject: [PATCH] plugins/screencast: Enable alpha channel for window streams It appears like a dozen of applications that provide window screencasting feature don't support BGR video format, only BGRA and BGRx. --- src/plugins/screencast/windowscreencastsource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/screencast/windowscreencastsource.cpp b/src/plugins/screencast/windowscreencastsource.cpp index bc886618f7..2ac14ac836 100644 --- a/src/plugins/screencast/windowscreencastsource.cpp +++ b/src/plugins/screencast/windowscreencastsource.cpp @@ -27,7 +27,7 @@ WindowScreenCastSource::WindowScreenCastSource(Toplevel *window, QObject *parent bool WindowScreenCastSource::hasAlphaChannel() const { - return false; + return true; } QSize WindowScreenCastSource::textureSize() const