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