mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 02:35:22 +03:00
Fixes
This commit is contained in:
parent
b2a8f8330a
commit
922d327ebf
@ -42,7 +42,7 @@ class TimelineProcessor(threading.Thread):
|
|||||||
except queue.Empty:
|
except queue.Empty:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if input_type == TimelineSourceEnum.object:
|
if input_type == TimelineSourceEnum.tracked_object:
|
||||||
self.handle_object_detection(
|
self.handle_object_detection(
|
||||||
camera, event_type, prev_event_data, event_data
|
camera, event_type, prev_event_data, event_data
|
||||||
)
|
)
|
||||||
@ -69,7 +69,7 @@ class TimelineProcessor(threading.Thread):
|
|||||||
)
|
)
|
||||||
elif (
|
elif (
|
||||||
event_type == "update"
|
event_type == "update"
|
||||||
and prev_event_data["current_zones"] != event_type["current_zones"]
|
and prev_event_data["current_zones"] != event_data["current_zones"]
|
||||||
):
|
):
|
||||||
Timeline.insert(
|
Timeline.insert(
|
||||||
timestamp=event_data["frame_time"],
|
timestamp=event_data["frame_time"],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user