From aa4df22785fc4f471369afbb2fc675f7f7326c2b Mon Sep 17 00:00:00 2001 From: Shaun Berryman Date: Tue, 24 Oct 2023 07:08:18 -0700 Subject: [PATCH] resolve feedback from PR review https://github.com/blakeblackshear/frigate/pull/8291#discussion_r1370083613 --- frigate/output.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/frigate/output.py b/frigate/output.py index e7d237176..df0bd9f76 100644 --- a/frigate/output.py +++ b/frigate/output.py @@ -595,12 +595,8 @@ class BirdsEyeFrameManager: return False - # default the mode to the camera config at load time - # if we have a metric (which we always should as it is set onload) - # then use that value - birdseye_mode = camera_config.mode - if camera_metrics["birdseye_mode"]: - birdseye_mode = BirdseyeModeEnum.get(camera_metrics["birdseye_mode"].value) + # get the birdseye mode state from camera metrics + birdseye_mode = BirdseyeModeEnum.get(camera_metrics["birdseye_mode"].value) # update the last active frame for the camera self.cameras[camera]["current_frame"] = frame_time