diff --git a/src/common.h b/src/common.h index 769a228..17c297c 100644 --- a/src/common.h +++ b/src/common.h @@ -35,7 +35,7 @@ using namespace cv; using namespace std; using namespace std::filesystem; -#define APP_VER "1.5.t5" +#define APP_VER "1.5.t6" #define APP_NAME "Motion Watch" struct shared_t diff --git a/src/mo_detect.cpp b/src/mo_detect.cpp index 15a5434..bbfe851 100644 --- a/src/mo_detect.cpp +++ b/src/mo_detect.cpp @@ -79,7 +79,7 @@ bool moDetect(const string &buffFile, Mat &vidThumb, shared_t *share) { auto mod = false; - VideoCapture capture(buffFile.c_str(), CAP_FFMPEG); + VideoCapture capture(buffFile.c_str()); if (capture.isOpened()) {