Fix check for audio activity to keep a segemnt

This commit is contained in:
Nicolas Mowen 2025-12-15 07:35:50 -07:00
parent 0a91888faa
commit 0140adf8e1

View File

@ -67,7 +67,7 @@ class SegmentInfo:
if ( if (
not keep not keep
and retain_mode == RetainModeEnum.motion and retain_mode == RetainModeEnum.motion
and (self.motion_count > 0 or self.average_dBFS > 0) and (self.motion_count > 0 or self.average_dBFS != 0)
): ):
keep = True keep = True