mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-06-17 22:31:35 +00:00
Use Rec 2020 colorspace for WCG support even if HDR is off on the host
This commit is contained in:
@@ -320,7 +320,7 @@ public class NvConnection {
|
|||||||
context.streamConfig.getEncryptionFlags(),
|
context.streamConfig.getEncryptionFlags(),
|
||||||
context.riKey.getEncoded(), ib.array(),
|
context.riKey.getEncoded(), ib.array(),
|
||||||
context.videoCapabilities,
|
context.videoCapabilities,
|
||||||
context.streamConfig.getColorSpace(),
|
context.negotiatedHdr ? MoonBridge.COLORSPACE_REC_2020 : context.streamConfig.getColorSpace(),
|
||||||
context.streamConfig.getColorRange());
|
context.streamConfig.getColorRange());
|
||||||
if (ret != 0) {
|
if (ret != 0) {
|
||||||
// LiStartConnection() failed, so the caller is not expected
|
// LiStartConnection() failed, so the caller is not expected
|
||||||
|
|||||||
Reference in New Issue
Block a user