commit
961342a522
3 changed files with 8 additions and 2 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
|
@ -1,3 +1,9 @@
|
||||||
|
howdy (2.2.2) xenial; urgency=medium
|
||||||
|
|
||||||
|
* Fixed fetching of wrong config section (thanks @halcyoncheng and @arifeinberg!)
|
||||||
|
|
||||||
|
-- boltgolt <boltgolt@gmail.com> Fri, 11 May 2018 10:43:03 +0200
|
||||||
|
|
||||||
howdy (2.2.1) xenial; urgency=medium
|
howdy (2.2.1) xenial; urgency=medium
|
||||||
|
|
||||||
* Added mechanism to keep config files between updates
|
* Added mechanism to keep config files between updates
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ insert_model = {
|
||||||
video_capture = cv2.VideoCapture(int(config.get("video", "device_id")))
|
video_capture = cv2.VideoCapture(int(config.get("video", "device_id")))
|
||||||
|
|
||||||
# Force MJPEG decoding if true
|
# Force MJPEG decoding if true
|
||||||
if config.get("debug", "force_mjpeg") == "true":
|
if config.get("video", "force_mjpeg") == "true":
|
||||||
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237)
|
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237)
|
||||||
|
|
||||||
# Request a frame to wake the camera up
|
# Request a frame to wake the camera up
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ config.read(path + "/../config.ini")
|
||||||
video_capture = cv2.VideoCapture(int(config.get("video", "device_id")))
|
video_capture = cv2.VideoCapture(int(config.get("video", "device_id")))
|
||||||
|
|
||||||
# Force MJPEG decoding if true
|
# Force MJPEG decoding if true
|
||||||
if config.get("debug", "force_mjpeg") == "true":
|
if config.get("video", "force_mjpeg") == "true":
|
||||||
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237)
|
video_capture.set(cv2.CAP_PROP_FOURCC, 1196444237)
|
||||||
|
|
||||||
# Let the user know what's up
|
# Let the user know what's up
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue