mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 22:09:59 +00:00
Separate H.265 video format for SDR and HDR formats
This commit is contained in:
1 parent
1c386a8987
commit
26fe1cb22c
5 files changed
+29
-16
No files matched your search
+1
-1
@@ -277,7 +277,7 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
}
|
||||
|
||||
if (AppVersionQuad[0] >= 4) {
|
||||
if (NegotiatedVideoFormat == VIDEO_FORMAT_H265) {
|
||||
if (NegotiatedVideoFormat & VIDEO_FORMAT_MASK_H265) {
|
||||
err |= addAttributeString(&optionHead, "x-nv-clientSupportHevc", "1");
|
||||
err |= addAttributeString(&optionHead, "x-nv-vqos[0].bitStreamFormat", "1");
|
||||
|
||||
|
||||
Reference in new issue
Block a user