diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-18 11:32:25 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-06-18 11:32:25 +0200 |
commit | e60eab99fcd031f2766ae7790a2db084615c2500 (patch) | |
tree | 9f3c455bb38814ca1830ed2fd0e3f20d645dc596 | |
parent | 928f9abaf4c88c670a08dd79305f3370165005d0 (diff) |
api/camera-dialog: fix build on win32
-rw-r--r-- | opentrack/opencv-camera-dialog.hpp | 2 |
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); |