mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-05 18:55:23 +03:00
Update frigate/video.py
Co-authored-by: Blake Blackshear <blakeb@blakeshome.com>
This commit is contained in:
parent
33586567b6
commit
e727179cec
@ -195,6 +195,7 @@ def capture_frames(
|
|||||||
|
|
||||||
frame_rate.update()
|
frame_rate.update()
|
||||||
|
|
||||||
|
# don't lock the queue to check, just try since it should rarely be full
|
||||||
try:
|
try:
|
||||||
# add to the queue
|
# add to the queue
|
||||||
frame_queue.put(current_frame.value, False)
|
frame_queue.put(current_frame.value, False)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user