From 6435afd2292ef36a4e898e9b7e2e35f43b90350b Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 7 Feb 2022 20:05:58 -0600 Subject: [PATCH] Remove per-app HDR support check It doesn't seem to make a difference anymore whether it's supported or not. GFE seems happy to enter HDR mode anyway. --- Limelight/ViewControllers/MainFrameViewController.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 968d015..40bd653 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -648,14 +648,13 @@ static NSMutableSet* hostList; _streamConfig.audioConfiguration = AUDIO_CONFIGURATION_STEREO; } - // HDR requires HDR10 game, HDR10 display, and HEVC Main10 decoder on the client. + // HDR requires HDR10 display and HEVC Main10 decoder on the client. // It additionally requires an HEVC Main10 encoder on the server (GTX 1000+). // // It should also be a user preference, since some games may require higher peak // brightness than the iOS device can support to look correct in HDR mode. if (@available(iOS 11.3, tvOS 11.2, *)) { _streamConfig.enableHdr = - app.hdrSupported && // App supported (app.host.serverCodecModeSupport & 0x200) != 0 && // HEVC Main10 encoding on host PC GPU VTIsHardwareDecodeSupported(kCMVideoCodecType_HEVC) && // Decoder supported (AVPlayer.availableHDRModes & AVPlayerHDRModeHDR10) != 0 && // Display supported