From d2bec7c45f71a12734b359f10bda6302ecd8a657 Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期一, 29 七月 2019 11:49:22 +0800 Subject: [PATCH] Merge branch 'master' of ssh://192.168.1.14:29418/valib/goffmpeg --- csrc/buz/recorder.hpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/csrc/buz/recorder.hpp b/csrc/buz/recorder.hpp index 3e12d81..483404e 100644 --- a/csrc/buz/recorder.hpp +++ b/csrc/buz/recorder.hpp @@ -29,7 +29,7 @@ class Recorder{ public: - explicit Recorder(ffwrapper::FormatIn *in); + Recorder(ffwrapper::FormatIn *in, const std::string &id); ~Recorder(); public: @@ -60,14 +60,14 @@ std::list<avpacket> list_pkt_; - std::unique_ptr<std::thread> thread_; std::atomic_bool stop_recorder_; std::mutex mutex_pkt_; - std::condition_variable cv_; + std::condition_variable cv_; std::string dir_; + std::string id_; - int64_t id_frame_; + int64_t id_frame_; int file_frame_index_; std::string file_path_; FUNC_REC_INFO func_rec_info_; -- Gitblit v1.8.0