added test to for when initialization fails

This commit is contained in:
lostjared
2017-03-06 10:35:09 -08:00
parent fa2ab61b52
commit 7a07deb205
3 changed files with 9 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ public:
void Stop();
void Release();
void setVideo(cv::VideoCapture cap, cv::VideoWriter writer, bool record);
void setVideoCamera(int device, int res, cv::VideoWriter writer, bool record);
bool setVideoCamera(int device, int res, cv::VideoWriter writer, bool record);
bool isStopped() const;
void run();
void msleep(int ms);