mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-14 15:15:22 +03:00
Don't write frames
This commit is contained in:
parent
5378f085ec
commit
4104f7131c
@ -245,6 +245,9 @@ class PreviewRecorder:
|
||||
frame_time: float,
|
||||
) -> bool:
|
||||
"""Decide if this frame should be added to PREVIEW."""
|
||||
if not self.config.record.enabled:
|
||||
return False
|
||||
|
||||
active_objs = get_active_objects(
|
||||
frame_time, self.config, current_tracked_objects
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user