mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
continue if frames not in frame manager
This commit is contained in:
parent
adcc3e9b98
commit
005e188d38
@ -283,6 +283,10 @@ def process_frames(camera_name: str, frame_queue: mp.Queue, frame_shape,
|
|||||||
|
|
||||||
frame = frame_manager.get(f"{camera_name}{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_tracker.update()
|
||||||
fps.value = fps_tracker.eps()
|
fps.value = fps_tracker.eps()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user