video analysis2.0拆分,ffmpeg封装go接口库
zhangmeng
2019-09-16 602b3b2a792d65e49dba07920b100b5feb39d36f
csrc/buz/recorder.hpp
@@ -40,6 +40,8 @@
                void SetCallback(FUNC_REC_INFO cb){
                    func_rec_info_ = cb;
                }
                const bool ErrorOcurred(){return error_occured_;}
            private:
                void run_thread();
@@ -64,6 +66,8 @@
                std::mutex              mutex_pkt_;
               std::condition_variable cv_;
                std::unique_ptr<std::thread> thrd_;
                std::string             dir_;
                std::string             id_;
@@ -71,6 +75,8 @@
                int                     file_frame_index_;
                std::string             file_path_;
                FUNC_REC_INFO           func_rec_info_;
                bool                    error_occured_;
        };
    }
}