summaryrefslogtreecommitdiffhomepage
path: root/opentrack-compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-07-31 13:48:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-07-31 13:48:09 +0200
commitfa528a7ebafc9b5751deda05c02aec43a9a45ead (patch)
treee23a0e74592670b23c5df3c6b58895255aaad581 /opentrack-compat
parentccafc5f054733e883bb0ef8b0c698b4c9c86fff9 (diff)
tracker/{aruco, pt}, compat, api: move opencv camera class to cv module
Diffstat (limited to 'opentrack-compat')
-rw-r--r--opentrack-compat/camera-names.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/opentrack-compat/camera-names.cpp b/opentrack-compat/camera-names.cpp
index ef5c159d..a83a6536 100644
--- a/opentrack-compat/camera-names.cpp
+++ b/opentrack-compat/camera-names.cpp
@@ -26,7 +26,8 @@ OPENTRACK_COMPAT_EXPORT int camera_name_to_index(const QString &name)
return ret;
}
-OPENTRACK_COMPAT_EXPORT QList<QString> get_camera_names() {
+OPENTRACK_COMPAT_EXPORT QList<QString> get_camera_names()
+{
QList<QString> ret;
#if defined(_WIN32)
// Create the System Device Enumerator.
@@ -79,7 +80,7 @@ OPENTRACK_COMPAT_EXPORT QList<QString> get_camera_names() {
}
else
qDebug() << "failed CLSID_VideoInputDeviceCategory" << hr;
-
+
pSysDevEnum->Release();
#endif
#ifdef __linux