From 005e188d38544bc7e208e11b3bab7f3af74d6ffe Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 14 Sep 2020 07:40:26 -0500 Subject: [PATCH] continue if frames not in frame manager --- frigate/video.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frigate/video.py b/frigate/video.py index 69c2bc6b3..aa816dbd9 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -282,6 +282,10 @@ def process_frames(camera_name: str, frame_queue: mp.Queue, frame_shape, current_frame_time.value = frame_time frame = frame_manager.get(f"{camera_name}{frame_time}") + + if frame is None: + print(f"{camera_name}: frame {frame_time} is not in memory store.") + continue fps_tracker.update() fps.value = fps_tracker.eps()