Use Rec 2020 colorspace for WCG support even if HDR is off on the host

This commit is contained in:
Cameron Gutman 2022-10-13 00:52:45 -05:00
parent d0432de981
commit 6c85f5f8c3

View File

@ -320,7 +320,7 @@ public class NvConnection {
context.streamConfig.getEncryptionFlags(),
context.riKey.getEncoded(), ib.array(),
context.videoCapabilities,
context.streamConfig.getColorSpace(),
context.negotiatedHdr ? MoonBridge.COLORSPACE_REC_2020 : context.streamConfig.getColorSpace(),
context.streamConfig.getColorRange());
if (ret != 0) {
// LiStartConnection() failed, so the caller is not expected