summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-18 11:32:25 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-18 11:32:25 +0200
commite60eab99fcd031f2766ae7790a2db084615c2500 (patch)
tree9f3c455bb38814ca1830ed2fd0e3f20d645dc596
parent928f9abaf4c88c670a08dd79305f3370165005d0 (diff)
api/camera-dialog: fix build on win32
-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);