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