Allow renderers to apply size and display changes seamlessly

This commit is contained in:
Cameron Gutman committed 2022-04-24 15:42:08 -05:00
1 parent 6c339551eb
commit c989133d27
8 files changed
+106 -15

No files matched your search

+5
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();