diff options
Diffstat (limited to 'cv/video-property-page.hpp')
-rw-r--r-- | cv/video-property-page.hpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cv/video-property-page.hpp b/cv/video-property-page.hpp index 4e53e2ab..2acffd85 100644 --- a/cv/video-property-page.hpp +++ b/cv/video-property-page.hpp @@ -4,20 +4,21 @@ #ifdef _WIN32 # include <windows.h> -# include <dshow.h> #endif #include "opencv2/videoio.hpp" +struct IBaseFilter; + 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 show_from_capture(cv::VideoCapture& cap, int index); static bool should_show_dialog(const QString& camera_name); private: #ifdef _WIN32 - static HRESULT ShowFilterPropertyPages(IBaseFilter* filter); + static int ShowFilterPropertyPages(IBaseFilter* filter); static IBaseFilter* get_device(int id); #endif }; |