From 3d612e510c1f69fc5aa9fb96298795a9de4a41ca Mon Sep 17 00:00:00 2001 From: Aida Syoko <167442392+alongdate@users.noreply.github.com> Date: Sat, 20 Apr 2024 19:16:43 +0800 Subject: [PATCH] chore: fix some typos in comments (#11028) Signed-off-by: alongdate --- frigate/object_detection.py | 2 +- frigate/video.py | 2 +- process_clip.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frigate/object_detection.py b/frigate/object_detection.py index 9d00dca46..207637ed4 100644 --- a/frigate/object_detection.py +++ b/frigate/object_detection.py @@ -158,7 +158,7 @@ class ObjectDetectProcess: logging.info("Waiting for detection process to exit gracefully...") self.detect_process.join(timeout=30) if self.detect_process.exitcode is None: - logging.info("Detection process didnt exit. Force killing...") + logging.info("Detection process didn't exit. Force killing...") self.detect_process.kill() self.detect_process.join() logging.info("Detection process has exited...") diff --git a/frigate/video.py b/frigate/video.py index 6d6230de7..5d3eeeae3 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -60,7 +60,7 @@ def stop_ffmpeg(ffmpeg_process, logger): logger.info("Waiting for ffmpeg to exit gracefully...") ffmpeg_process.communicate(timeout=30) except sp.TimeoutExpired: - logger.info("FFmpeg didnt exit. Force killing...") + logger.info("FFmpeg didn't exit. Force killing...") ffmpeg_process.kill() ffmpeg_process.communicate() ffmpeg_process = None diff --git a/process_clip.py b/process_clip.py index 2ab8dbe77..73e2e7c41 100644 --- a/process_clip.py +++ b/process_clip.py @@ -53,7 +53,7 @@ def get_frame_shape(source): if video_info["height"] != 0 and video_info["width"] != 0: return (video_info["height"], video_info["width"], 3) - # fallback to using opencv if ffprobe didnt succeed + # fallback to using opencv if ffprobe didn't succeed video = cv2.VideoCapture(source) ret, frame = video.read() frame_shape = frame.shape