From 1f16245b4b4fc36c519e7afc9fd9cf828f25199d Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期四, 28 二月 2019 20:06:35 +0800
Subject: [PATCH] 修改新增摄像机获取底图问题 解码两次问题

---
 QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.cpp b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.cpp
index 7094791..476883e 100644
--- a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.cpp
+++ b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.cpp
@@ -16,7 +16,7 @@
     m_bSetWH(false),
     pointArray(nullptr),
     npts(0),
-    m_rpcClient("RtspAnalysServer", "127.0.0.1",10009,"tcp")
+    m_rpcClient("RtspAnalysServer", "127.0.0.1",appPref.getIntData("RpcServerPort"),"tcp")
 {
     pManagerEsDB = new EsDBTool(appPref.getStringData("ipAdd"), appPref.getIntData("ipPort"));
 }
@@ -312,7 +312,7 @@
         if (!server)
         {
             ERR("server is null");
-            return false;
+            //return false;
         }
         INFO("Record Video "<<imgKey);
         server->recordVideo(imgKey);
@@ -320,7 +320,7 @@
     catch (std::exception &e)
     {
         ERR("Record Video Err: "<<imgKey <<"   Message: "<<e.what());
-        return false;
+        //return false;
     }
 
     bool retface = false;

--
Gitblit v1.8.0