From b04ffe5bd83683949db53bcaf2b91559e30d8e4c Mon Sep 17 00:00:00 2001 From: boltgolt Date: Sat, 9 Jan 2021 18:49:06 +0100 Subject: [PATCH] Fix for #318 by kageurufu --- src/recorders/video_capture.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/recorders/video_capture.py b/src/recorders/video_capture.py index be38873..50032ad 100644 --- a/src/recorders/video_capture.py +++ b/src/recorders/video_capture.py @@ -120,7 +120,8 @@ class VideoCapture: else: # Start video capture on the IR camera through OpenCV self.internal = cv2.VideoCapture( - self.config.get("video", "device_path") + self.config.get("video", "device_path"), + cv2.CAP_V4L ) # Force MJPEG decoding if true