video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-07-23 67e36de699fff8e4d925d6cb818459c7c5c32ab5
csrc/wrapper.cpp
@@ -201,7 +201,7 @@
            auto in = init_reader(input_url_.c_str());
            if (!in) {
                logIt("ERROR: init_reader!\n");
                logIt("ERROR: init_reader! url: %s\n", input_url_.c_str());
                usleep(200000);
                continue;
            }
@@ -224,9 +224,9 @@
                    break;
                }
                //test
                if(recorder_)
                    if(id % 250 == 0)
                        recorder_->FireRecorder(id);
                // if(recorder_)
                //     if(id % 250 == 0)
                //         recorder_->FireRecorder(id);
            }
        }
    }