mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
HDR is a Gen7 feature
This commit is contained in:
parent
069f1475b6
commit
deb0e69d64
@ -284,7 +284,7 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
// Disable slicing on HEVC
|
||||
err |= addAttributeString(&optionHead, "x-nv-video[0].videoEncoderSlicesPerFrame", "1");
|
||||
|
||||
if (AppVersionQuad[0] >= 5) {
|
||||
if (AppVersionQuad[0] >= 7) {
|
||||
// Enable HDR if requested
|
||||
if (StreamConfig.enableHdr) {
|
||||
err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "1");
|
||||
@ -304,7 +304,7 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
err |= addAttributeString(&optionHead, "x-nv-clientSupportHevc", "0");
|
||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].bitStreamFormat", "0");
|
||||
|
||||
if (AppVersionQuad[0] >= 5) {
|
||||
if (AppVersionQuad[0] >= 7) {
|
||||
// HDR is not supported on H.264
|
||||
err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "0");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user