mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 13:41:14 +00:00
Query the frontend renderer to determine fullscreen-only limitations
This commit is contained in:
@@ -51,7 +51,7 @@ bool FFmpegVideoDecoder::isHardwareAccelerated()
|
|||||||
|
|
||||||
bool FFmpegVideoDecoder::isAlwaysFullScreen()
|
bool FFmpegVideoDecoder::isAlwaysFullScreen()
|
||||||
{
|
{
|
||||||
return m_BackendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
||||||
}
|
}
|
||||||
|
|
||||||
int FFmpegVideoDecoder::getDecoderCapabilities()
|
int FFmpegVideoDecoder::getDecoderCapabilities()
|
||||||
|
|||||||
Reference in New Issue
Block a user