diff options
author | Michael Welter <michael@welter-4d.de> | 2021-09-04 23:28:14 +0200 |
---|---|---|
committer | Michael Welter <michael@welter-4d.de> | 2021-09-04 23:31:21 +0200 |
commit | a31c8b933d6444f92ac36b08c6688b25a46ce79a (patch) | |
tree | f94fa68f995c42e72ff8ac68493abe8464bf8a02 /video-opencv/impl-camera.cpp | |
parent | a854e76e68b7e6db837ca890641c01db8f250686 (diff) |
Fix video capture on linux and mac as well as init of QCheckBox in pose-widget
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r-- | video-opencv/impl-camera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp index 7e357d7c..662eceb2 100644 --- a/video-opencv/impl-camera.cpp +++ b/video-opencv/impl-camera.cpp @@ -33,7 +33,7 @@ bool cam::is_open() bool cam::start(info& args) { stop(); - cap.emplace(idx, cv::CAP_DSHOW); + cap.emplace(idx, video_capture_backend); if (args.width > 0 && args.height > 0) { |