diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-01 16:41:20 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-10-01 16:41:20 +0200 |
commit | 29406db336d00a223fec9035044a5ca46ade1d3f (patch) | |
tree | 2193fab5bf301e5106d05ef86c225f419c5bd6f7 /cv/video-property-page.hpp | |
parent | f3d16459b19098ec4c1269a527867270c19c9e98 (diff) |
camera settings: disable for all A4 TECH cameras
We've had two reported crashes.
Issue: #468
Diffstat (limited to 'cv/video-property-page.hpp')
-rw-r--r-- | cv/video-property-page.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cv/video-property-page.hpp b/cv/video-property-page.hpp index 7c51f111..4e53e2ab 100644 --- a/cv/video-property-page.hpp +++ b/cv/video-property-page.hpp @@ -1,5 +1,7 @@ #pragma once +#include <QString> + #ifdef _WIN32 # include <windows.h> # include <dshow.h> @@ -12,7 +14,7 @@ struct video_property_page final video_property_page() = delete; static bool show(int id); static bool show_from_capture(cv::VideoCapture& cap, int idx); - + static bool should_show_dialog(const QString& camera_name); private: #ifdef _WIN32 static HRESULT ShowFilterPropertyPages(IBaseFilter* filter); |