mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-17 04:10:01 +01:00
updated
This commit is contained in:
@@ -71,8 +71,8 @@ bool Playback::setVideoCamera(std::string name, int type, int device, int res, c
|
||||
mutex.lock();
|
||||
//#if defined(__linux__) || defined(__APPLE__)
|
||||
#ifdef _WIN32
|
||||
//capture.open(cv::CAP_DSHOW+device);
|
||||
capture.open(0, cv::CAP_MSMF);
|
||||
capture.open(device, cv::CAP_DSHOW);
|
||||
//capture.open(0, cv::CAP_MSMF);
|
||||
#else
|
||||
capture.open(device);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user