mirror of
https://github.com/blakeblackshear/frigate.git
synced 2025-07-30 13:48:07 +02:00
Fix logic (#7165)
This commit is contained in:
parent
dfd3fcdff6
commit
d0873631cc
@ -288,7 +288,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
if (
|
if (
|
||||||
(store_mode == RetainModeEnum.motion and motion_count == 0)
|
(store_mode == RetainModeEnum.motion and motion_count == 0)
|
||||||
or (
|
or (
|
||||||
store_mode == RetainModeEnum.motion and averageDBFS < 0
|
store_mode == RetainModeEnum.motion and averageDBFS == 0
|
||||||
) # dBFS is stored in a negative scale
|
) # dBFS is stored in a negative scale
|
||||||
or (store_mode == RetainModeEnum.active_objects and active_count == 0)
|
or (store_mode == RetainModeEnum.active_objects and active_count == 0)
|
||||||
):
|
):
|
||||||
|
Loading…
Reference in New Issue
Block a user