mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-04 00:35:47 +00:00
Use Rec 2020 colorspace for WCG support even if HDR is off on the host
This commit is contained in:
parent
d0432de981
commit
6c85f5f8c3
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user