HDR is a Gen7 feature
This commit is contained in:
parent
069f1475b6
commit
deb0e69d64
1 changed files with 2 additions and 2 deletions
|
|
@ -284,7 +284,7 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||||
// Disable slicing on HEVC
|
// Disable slicing on HEVC
|
||||||
err |= addAttributeString(&optionHead, "x-nv-video[0].videoEncoderSlicesPerFrame", "1");
|
err |= addAttributeString(&optionHead, "x-nv-video[0].videoEncoderSlicesPerFrame", "1");
|
||||||
|
|
||||||
if (AppVersionQuad[0] >= 5) {
|
if (AppVersionQuad[0] >= 7) {
|
||||||
// Enable HDR if requested
|
// Enable HDR if requested
|
||||||
if (StreamConfig.enableHdr) {
|
if (StreamConfig.enableHdr) {
|
||||||
err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "1");
|
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-clientSupportHevc", "0");
|
||||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].bitStreamFormat", "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
|
// HDR is not supported on H.264
|
||||||
err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "0");
|
err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "0");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue