From 314a5937f4c2f4a9299ab5a00dba3e73c7384161 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 10 Nov 2017 00:09:15 -0800 Subject: [PATCH] Set encoder feature flags to disable split frame encode on GFE 3.10 --- src/SdpGenerator.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SdpGenerator.c b/src/SdpGenerator.c index f0ed86d..8319b69 100644 --- a/src/SdpGenerator.c +++ b/src/SdpGenerator.c @@ -293,6 +293,10 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) { err |= addAttributeString(&optionHead, "x-nv-video[0].dynamicRangeMode", "0"); } } + + // 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"); } else { unsigned char slicesPerFrame;