Allow renderers to apply size and display changes seamlessly

This commit is contained in:
Cameron Gutman
2022-04-24 15:42:08 -05:00
parent 6c339551eb
commit c989133d27
8 changed files with 106 additions and 15 deletions

View File

@@ -68,6 +68,11 @@ void FFmpegVideoDecoder::setHdrMode(bool enabled)
m_FrontendRenderer->setHdrMode(enabled);
}
bool FFmpegVideoDecoder::applyWindowChange(int width, int height, int flags)
{
return m_FrontendRenderer->applyWindowChange(width, height, flags);
}
int FFmpegVideoDecoder::getDecoderCapabilities()
{
int capabilities = m_BackendRenderer->getDecoderCapabilities();