Only disable split encode on older GFE versions

This commit is contained in:
Cameron Gutman 2018-09-22 20:22:10 -07:00
parent 718d6a4b28
commit b2ebba2167

View File

@ -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 {