mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
trickle in some frames after activity stops
This commit is contained in:
parent
e0eb247028
commit
35281c037c
@ -295,9 +295,11 @@ class BirdsEyeFrameManager:
|
||||
if (now - self.last_output_time) < 1 / 10:
|
||||
return False
|
||||
|
||||
# if the frame was updated or the fps is too low, send frame
|
||||
if self.update_frame() or (now - self.last_output_time) > 1:
|
||||
self.last_output_time = now
|
||||
|
||||
return self.update_frame()
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def output_frames(config: FrigateConfig, video_output_queue):
|
||||
|
Loading…
Reference in New Issue
Block a user