summaryrefslogtreecommitdiffhomepage
path: root/opentrack/opencv-camera-dialog.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack/opencv-camera-dialog.hpp')
-rw-r--r--opentrack/opencv-camera-dialog.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/opentrack/opencv-camera-dialog.hpp b/opentrack/opencv-camera-dialog.hpp
index 8fa71505..647ae94d 100644
--- a/opentrack/opencv-camera-dialog.hpp
+++ b/opentrack/opencv-camera-dialog.hpp
@@ -57,9 +57,9 @@ public:
int idx = camera_name_to_index(camera_name);
QProcess::startDetached("qv4l2", QStringList() << "-d" << ("/dev/video" + QString::number(idx)));
}
+#elif defined(_WIN32)
void open_camera_settings(cv::VideoCapture* cap, const QString& camera_name, QMutex* camera_mtx)
{
-#elif defined(_WIN32)
if (cap)
{
QMutexLocker l(camera_mtx);