forked from Github/frigate
trickle in some frames after activity stops
This commit is contained in:
@@ -295,9 +295,11 @@ class BirdsEyeFrameManager:
|
|||||||
if (now - self.last_output_time) < 1 / 10:
|
if (now - self.last_output_time) < 1 / 10:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.last_output_time = now
|
# if the frame was updated or the fps is too low, send frame
|
||||||
|
if self.update_frame() or (now - self.last_output_time) > 1:
|
||||||
return self.update_frame()
|
self.last_output_time = now
|
||||||
|
return True
|
||||||
|
return False
|
||||||
|
|
||||||
|
|
||||||
def output_frames(config: FrigateConfig, video_output_queue):
|
def output_frames(config: FrigateConfig, video_output_queue):
|
||||||
|
|||||||
Reference in New Issue
Block a user