Plumb HDR mode information to the decoders

This commit is contained in:
Cameron Gutman
2022-01-28 22:10:50 -06:00
parent ad0afb5fc9
commit 254526a213
8 changed files with 60 additions and 4 deletions

View File

@@ -57,6 +57,11 @@ bool FFmpegVideoDecoder::isAlwaysFullScreen()
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
}
void FFmpegVideoDecoder::setHdrMode(bool enabled)
{
m_FrontendRenderer->setHdrMode(enabled);
}
int FFmpegVideoDecoder::getDecoderCapabilities()
{
int capabilities = m_BackendRenderer->getDecoderCapabilities();