mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
make sure entire segment is accounted for
This commit is contained in:
parent
def889e3a8
commit
441c605312
@ -270,7 +270,7 @@ class RecordingMaintainer(threading.Thread):
|
|||||||
][0]
|
][0]
|
||||||
|
|
||||||
# ensure delayed segment info does not lead to lost segments
|
# ensure delayed segment info does not lead to lost segments
|
||||||
if most_recently_processed_frame_time >= start_time.timestamp():
|
if most_recently_processed_frame_time >= end_time.timestamp():
|
||||||
record_mode = self.config.cameras[camera].record.retain.mode
|
record_mode = self.config.cameras[camera].record.retain.mode
|
||||||
return await self.move_segment(
|
return await self.move_segment(
|
||||||
camera, start_time, end_time, duration, cache_path, record_mode
|
camera, start_time, end_time, duration, cache_path, record_mode
|
||||||
|
Loading…
Reference in New Issue
Block a user