From 88c21b872799a1ae9dd7dd7d20f3811d749d9418 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期五, 26 七月 2019 14:04:22 +0800
Subject: [PATCH] add rec

---
 csrc/buz/recorder.hpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/csrc/buz/recorder.hpp b/csrc/buz/recorder.hpp
index 3e12d81..70c32fe 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: 
@@ -63,11 +63,12 @@
                 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