mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-17 17:05:50 +00:00
Only disable split encode on older GFE versions
This commit is contained in:
parent
718d6a4b28
commit
b2ebba2167
@ -319,9 +319,15 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
}
|
||||
}
|
||||
|
||||
// This disables split frame encode on GFE 3.10 which seems to produce broken
|
||||
// HEVC output at 1080p60 (full of artifacts even on the SHIELD itself, go figure)
|
||||
err |= addAttributeString(&optionHead, "x-nv-video[0].encoderFeatureSetting", "0");
|
||||
if (AppVersionQuad[0] < 7 ||
|
||||
(AppVersionQuad[0] == 7 && AppVersionQuad[1] < 1) ||
|
||||
(AppVersionQuad[0] == 7 && AppVersionQuad[1] == 1 && AppVersionQuad[2] < 408)) {
|
||||
// This disables split frame encode on GFE 3.10 which seems to produce broken
|
||||
// HEVC output at 1080p60 (full of artifacts even on the SHIELD itself, go figure).
|
||||
// It now appears to work fine on GFE 3.14.1.
|
||||
Limelog("Disabling split encode for HEVC on older GFE version");
|
||||
err |= addAttributeString(&optionHead, "x-nv-video[0].encoderFeatureSetting", "0");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user