Display the HDR option if the platform has a decoder that supports it
This commit is contained in:
parent
e0fd84d6f5
commit
1cbdd0e675
10 changed files with 77 additions and 46 deletions
|
|
@ -57,6 +57,11 @@ bool FFmpegVideoDecoder::isAlwaysFullScreen()
|
|||
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_FULLSCREEN_ONLY;
|
||||
}
|
||||
|
||||
bool FFmpegVideoDecoder::isHdrSupported()
|
||||
{
|
||||
return m_FrontendRenderer->getRendererAttributes() & RENDERER_ATTRIBUTE_HDR_SUPPORT;
|
||||
}
|
||||
|
||||
void FFmpegVideoDecoder::setHdrMode(bool enabled)
|
||||
{
|
||||
m_FrontendRenderer->setHdrMode(enabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue