- disable sdr performance workaround for av1

- UI string changes
This commit is contained in:
True Zhuanjia
2026-02-10 19:54:53 +08:00
parent 79684598ab
commit afc6289a56
6 changed files with 79 additions and 64 deletions
@@ -876,7 +876,7 @@ static NSMutableSet* hostList;
_streamConfig.supportedVideoFormats |= VIDEO_FORMAT_AV1_HIGH8_444;
}
else {
if(streamSettings.sdrPerformanceWorkaround && [Utils hdrSupported]) _streamConfig.supportedVideoFormats |= VIDEO_FORMAT_AV1_MAIN10; // 8bit performance degradation workaround for av1
if(streamSettings.sdrPerformanceWorkaround && [Utils hdrSupported] && false) _streamConfig.supportedVideoFormats |= VIDEO_FORMAT_AV1_MAIN10; // 8bit performance degradation workaround for av1
else _streamConfig.supportedVideoFormats |= VIDEO_FORMAT_AV1_MAIN8;
}
}
@@ -1580,15 +1580,15 @@ static NSMutableSet* hostList;
Settings* settings = [dataMan retrieveSettings];
switch ([UIDevice currentDevice].userInterfaceIdiom) {
case UIUserInterfaceIdiomPad:
settings.sdrPerformanceWorkaround = true;
settings.sdrPerformanceWorkaround = false;
settings.framePacingMode = @(FramePacingModeQueue);
break;
case UIUserInterfaceIdiomPhone:
settings.sdrPerformanceWorkaround = true;
settings.sdrPerformanceWorkaround = false;
settings.framePacingMode = @(FramePacingModeQueue);
break;
default:
settings.sdrPerformanceWorkaround = true;
settings.sdrPerformanceWorkaround = false;
settings.framePacingMode = @(FramePacingModeQueue);
break;
}