From fa528a7ebafc9b5751deda05c02aec43a9a45ead Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 31 Jul 2016 13:48:09 +0200 Subject: tracker/{aruco, pt}, compat, api: move opencv camera class to cv module --- opentrack-compat/camera-names.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'opentrack-compat') 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 get_camera_names() { +OPENTRACK_COMPAT_EXPORT QList get_camera_names() +{ QList ret; #if defined(_WIN32) // Create the System Device Enumerator. @@ -79,7 +80,7 @@ OPENTRACK_COMPAT_EXPORT QList get_camera_names() { } else qDebug() << "failed CLSID_VideoInputDeviceCategory" << hr; - + pSysDevEnum->Release(); #endif #ifdef __linux -- cgit v1.2.3