video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-10-10 cd3fe8cc1ae9028acb4f630ed16c12f4fb327f3c
csrc/worker/rec.cpp
@@ -141,8 +141,8 @@
        std::string rid(id);
        std::string dir(output);
        
        minduration_ = mindur * 25;
        maxduration_ = maxdur * 25;
        minduration_ = mindur * recRef_->getFPS();
        maxduration_ = maxdur * recRef_->getFPS();
        {
            std::lock_guard<std::mutex> l(mtx_rec_);