mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-03 17:55:21 +03:00
Update frigate/video.py
Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
This commit is contained in:
parent
a707f21419
commit
1f0ab25d32
@ -282,7 +282,7 @@ class CameraWatchdog(threading.Thread):
|
||||
self.logger.info("Waiting for ffmpeg to exit gracefully...")
|
||||
self.ffmpeg_detect_process.communicate(timeout=30)
|
||||
except sp.TimeoutExpired:
|
||||
self.logger.info("FFmpeg didnt exit. Force killing...")
|
||||
self.logger.info("FFmpeg did not exit. Force killing...")
|
||||
self.ffmpeg_detect_process.kill()
|
||||
self.ffmpeg_detect_process.communicate()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user