From 18a05d269516a5e33d8460291c2f93e73d95adce Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期二, 26 十二月 2023 10:45:31 +0800
Subject: [PATCH] GetYUV format is NV12

---
 csrc/wrapper.hpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/csrc/wrapper.hpp b/csrc/wrapper.hpp
index 8ef04e5..42f0c91 100644
--- a/csrc/wrapper.hpp
+++ b/csrc/wrapper.hpp
@@ -46,7 +46,7 @@
         int GetInfoRecorder(std::string &recID, int &index, std::string &path);
     
     public:
-        void GB28181(){gb_ = 1;}
+        void gb28181(){gb_ = 1;}
         void CPUDec(){cpu_ = 1;}
         void AudioSwitch(const bool a);
         void SetRecMinCacheTime(const int mind, const int maxd);
@@ -73,6 +73,7 @@
         bool run_dec_;
         bool run_stream_;
         bool run_rec_;
+        bool work_start;
         // decoder 鍙傛暟
         std::unique_ptr<std::thread> thread_;
         std::atomic_bool    stop_stream_;

--
Gitblit v1.8.0