mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-07 19:55:26 +03:00
resolve feedback from PR review
https://github.com/blakeblackshear/frigate/pull/8291#discussion_r1370083613
This commit is contained in:
parent
5ee8e10e28
commit
aa4df22785
@ -595,12 +595,8 @@ class BirdsEyeFrameManager:
|
|||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
# default the mode to the camera config at load time
|
# get the birdseye mode state from camera metrics
|
||||||
# if we have a metric (which we always should as it is set onload)
|
birdseye_mode = BirdseyeModeEnum.get(camera_metrics["birdseye_mode"].value)
|
||||||
# then use that value
|
|
||||||
birdseye_mode = camera_config.mode
|
|
||||||
if camera_metrics["birdseye_mode"]:
|
|
||||||
birdseye_mode = BirdseyeModeEnum.get(camera_metrics["birdseye_mode"].value)
|
|
||||||
|
|
||||||
# update the last active frame for the camera
|
# update the last active frame for the camera
|
||||||
self.cameras[camera]["current_frame"] = frame_time
|
self.cameras[camera]["current_frame"] = frame_time
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user