#pragma once #include #ifdef _WIN32 # include #endif #include 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 index); private: #ifdef _WIN32 static IBaseFilter* get_device(int id); static cv::VideoCapture last_capture; #endif };