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.
This commit is contained in:
parent
2817e7581f
commit
f308447cc2
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ WindowScreenCastSource::WindowScreenCastSource(Toplevel *window, QObject *parent
|
||||||
|
|
||||||
bool WindowScreenCastSource::hasAlphaChannel() const
|
bool WindowScreenCastSource::hasAlphaChannel() const
|
||||||
{
|
{
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSize WindowScreenCastSource::textureSize() const
|
QSize WindowScreenCastSource::textureSize() const
|
||||||
|
|
Loading…
Reference in a new issue