From 0ac8a18ccb5b60e251954bb8901b4be47b52622e Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期一, 18 二月 2019 09:54:34 +0800
Subject: [PATCH] 启动多个解码进程

---
 QiaoJiaSystem/StructureApp/PerimeterElement.cpp |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/QiaoJiaSystem/StructureApp/PerimeterElement.cpp b/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
index 49e86a4..d4411f1 100644
--- a/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
+++ b/QiaoJiaSystem/StructureApp/PerimeterElement.cpp
@@ -24,15 +24,13 @@
     pManagerEsDB(nullptr),
     m_bIsMask(true),
     m_bSetWH(false),
-    pointArray(nullptr)
+    pointArray(nullptr),
+    m_rpcClient("RtspAnalysServer", "127.0.0.1",10009,"tcp")
 {
 
     pManagerEsDB = new EsDBTool(appPref.getStringData("ipAdd"), appPref.getIntData("ipPort"));
 }
 
-PerimeterElement::PerimeterElement(const SdkRule &rule,SaveVideoRpcClient_t &rpcClient):PerimeterElement(rule){
-    m_rpcClient=rpcClient;
-}
 PerimeterElement::~PerimeterElement() {
     if (pManagerEsDB) {
         delete pManagerEsDB;

--
Gitblit v1.8.0