mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-28 11:08:22 +03:00
Fix check for audio activity to keep a segemnt
This commit is contained in:
parent
0a91888faa
commit
0140adf8e1
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user