From bfded635a544a1ab5d252739f4be4f7f30b39b7f Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期五, 26 七月 2019 14:46:48 +0800 Subject: [PATCH] update ffmpeg --- csrc/wrapper.hpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/csrc/wrapper.hpp b/csrc/wrapper.hpp index 8c866fd..8bbb157 100644 --- a/csrc/wrapper.hpp +++ b/csrc/wrapper.hpp @@ -72,8 +72,8 @@ public: //recorder void BuildRecorder(const char* id,const char *dir, const int mind, const int maxd); int FireRecorder(const char* sid,const int64_t &id); - void GetInfoRecorder(std::string &sid, int &index, std::string &path); - + void GetInfoRecorder(int &index, std::string &path); + std::string GetRecorderID(const std::string &path); // active api void ActiveRecorder(const char *dir, const int mind, const int maxd, FUNC_REC func); @@ -102,11 +102,12 @@ //passive api struct record_file_info{ - std::string id; int file_frame_index; std::string file_path; }; std::list<struct record_file_info> list_rec_; + std::unordered_map<std::string, std::string> list_rec_map_; + std::mutex mutex_rec_; std::list<pic_bgr24> list_pic_; -- Gitblit v1.8.0