This commit is contained in:
Nicolas Mowen 2023-07-14 19:46:01 -06:00 committed by GitHub
parent dfd3fcdff6
commit d0873631cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
):