From b3a8f07c53c479051e427830379779cb56e87736 Mon Sep 17 00:00:00 2001 From: pans <pansen626@sina.com> Date: 星期六, 30 三月 2019 12:06:17 +0800 Subject: [PATCH] fix bug --- QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp index cbc7dfa..ce56ad8 100644 --- a/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp +++ b/QiaoJiaSystem/VideoToImageMulth/RtspAnalysManager.cpp @@ -9,7 +9,7 @@ using std::string; RtspAnalysManager::RtspAnalysManager(LDBTool *_dbTool) : m_lDBTool(nullptr), m_maxCount(50), m_currentCount(0) { - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); m_lDBTool = new LDBTool; init(); @@ -39,7 +39,7 @@ //鍒濆鍖栧嚱鏁� void RtspAnalysManager::init() { - INFO("MYH DEBUG HERE") +// INFO("MYH DEBUG HERE") m_GB28181_Enable = appPref.getIntData("GB28181_Enable"); //#todo GB28181 @@ -153,7 +153,7 @@ //#todo end if (m_controllers_videoCapElem.find(index) == m_controllers_videoCapElem.end()) { - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); if (m_currentCount >= m_maxCount) { ERR("addCamera faild, camera's num is full!") return -1; @@ -255,7 +255,7 @@ * @return */ int RtspAnalysManager::removeAll() { - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); if (m_GB28181_Enable) { for (auto controller: m_controllers_videoCapElem) { @@ -276,7 +276,7 @@ } m_controllers.clear(); } - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); m_imgRedisCRwLock.wrlock(); for (auto controller: m_imgRedisControllers) { @@ -291,7 +291,7 @@ m_currentCount = 0; - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); return 0; } @@ -345,7 +345,7 @@ ERR("Save Failed Cam: " << camId << " ImageKey: " << imageName); } // m_imgRedisCRwLock.unlock(); - INFO("MYH DEBUG HERE"); +// INFO("MYH DEBUG HERE"); return true; } -- Gitblit v1.8.0