From 0ad5b3f85999c24ee3cc6b5c5593e3fcf6cd793c Mon Sep 17 00:00:00 2001
From: pans <pansen626@sina.com>
Date: 星期二, 16 四月 2019 18:22:14 +0800
Subject: [PATCH] 预防根据帧序号查找到时间间隔过长的视频文件

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

diff --git a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h
index 3d6cd76..08de8ba 100644
--- a/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h
+++ b/QiaoJiaSystem/StructureApp/JudgmentRetrogradeTool.h
@@ -10,6 +10,7 @@
 #include <map>
 #include <list>
 #include <opencv2/opencv.hpp>
+#include <basic/util/app/AppPreference.hpp>
 //#include <basic/pipe/TimerElement.h>
 #include "YoloRpcElement.h"
 #include <QSharedMemory>
@@ -54,7 +55,7 @@
 
 class JudgmentRetrogradeTool  : public basic::PipeElement{
 public:
-    JudgmentRetrogradeTool():m_rpcClient("RtspAnalysServer", "127.0.0.1",10009,"tcp") {}
+    JudgmentRetrogradeTool():m_rpcClient("RtspAnalysServer", "127.0.0.1",appPref.getIntData("RpcVTIMPort"),"tcp") {}
 
     JudgmentRetrogradeTool(const SdkRule &rule);
     //JudgmentRetrogradeTool(const SdkRule &rule,SaveVideoRpcClient_t& rpcClient);

--
Gitblit v1.8.0