mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 10:45:21 +03:00
Fix logic
This commit is contained in:
parent
dfd3fcdff6
commit
f41781ba93
@ -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