Skip to content

Commit

Permalink
LinuxRendererGLES: remove metadata info check for HDR passthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
smp79 committed Apr 7, 2024
1 parent b4ae12f commit f41e53f
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions xbmc/cores/VideoPlayer/VideoRenderers/LinuxRendererGLES.cpp
Expand Up @@ -132,12 +132,9 @@ bool CLinuxRendererGLES::Configure(const VideoPicture &picture, float fps, unsig
// setup the background colour
m_clearColour = CServiceBroker::GetWinSystem()->UseLimitedColor() ? (16.0f / 0xff) : 0.0f;

if (picture.hasDisplayMetadata && picture.hasLightMetadata)
{
m_passthroughHDR = CServiceBroker::GetWinSystem()->SetHDR(&picture);
CLog::Log(LOGDEBUG, "LinuxRendererGLES::Configure: HDR passthrough: {}",
m_passthroughHDR ? "on" : "off");
}
m_passthroughHDR = CServiceBroker::GetWinSystem()->SetHDR(&picture);
CLog::Log(LOGDEBUG, "LinuxRendererGLES::Configure: HDR passthrough: {}",
m_passthroughHDR ? "on" : "off");

return true;
}
Expand Down

0 comments on commit f41e53f

Please sign in to comment.