From e79faba87d37bba429989e95ca661b68f7073ff4 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 27 Mar 2022 13:29:51 -0500 Subject: [PATCH] Ensure the HEVC selector is set appropriately upon startup --- Limelight/ViewControllers/SettingsViewController.m | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Limelight/ViewControllers/SettingsViewController.m b/Limelight/ViewControllers/SettingsViewController.m index cde49a0..f53b941 100644 --- a/Limelight/ViewControllers/SettingsViewController.m +++ b/Limelight/ViewControllers/SettingsViewController.m @@ -220,6 +220,9 @@ BOOL isCustomResolution(CGSize res) { else { [self.hdrSelector setSelectedSegmentIndex:currentSettings.enableHdr ? 1 : 0]; [self.hdrSelector addTarget:self action:@selector(hdrStateChanged) forControlEvents:UIControlEventValueChanged]; + + // Manually trigger the hdrStateChanged callback to set the HEVC selector appropriately + [self hdrStateChanged]; } } else {