mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-10 17:56:26 +00:00
Revert "Use Rec 2020 colorspace for WCG support even if HDR is off on the host"
Rec 2020 conversion causes colors to be blown out in SDR
This reverts commit 472e8ee92e.
This commit is contained in:
@@ -415,12 +415,8 @@ bool Session::populateDecoderProperties(SDL_Window* window)
|
||||
"Using colorspace override: %d",
|
||||
m_StreamConfig.colorSpace);
|
||||
}
|
||||
else if (!m_StreamConfig.enableHdr) {
|
||||
m_StreamConfig.colorSpace = decoder->getDecoderSdrColorspace();
|
||||
}
|
||||
else {
|
||||
// In HDR mode, we opt for Rec 2020 for WCG displays
|
||||
m_StreamConfig.colorSpace = COLORSPACE_REC_2020;
|
||||
m_StreamConfig.colorSpace = decoder->getDecoderColorspace();
|
||||
}
|
||||
|
||||
m_StreamConfig.colorRange = qEnvironmentVariableIntValue("COLOR_RANGE_OVERRIDE", &ok);
|
||||
|
||||
Reference in New Issue
Block a user