summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/impl-camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r--video-opencv/impl-camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp
index 8a540134..3f2a1b1a 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);
+ cap.emplace(idx + video_capture_backend);
if (args.width > 0 && args.height > 0)
{