mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 04:05: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,11 +595,7 @@ 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)
|
|
||||||
# then use that value
|
|
||||||
birdseye_mode = camera_config.mode
|
|
||||||
if camera_metrics["birdseye_mode"]:
|
|
||||||
birdseye_mode = BirdseyeModeEnum.get(camera_metrics["birdseye_mode"].value)
|
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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user