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

---
 QiaoJiaSystem/PerimeterAlarm/AppPaController.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/QiaoJiaSystem/PerimeterAlarm/AppPaController.cpp b/QiaoJiaSystem/PerimeterAlarm/AppPaController.cpp
index de80896..a9d330d 100644
--- a/QiaoJiaSystem/PerimeterAlarm/AppPaController.cpp
+++ b/QiaoJiaSystem/PerimeterAlarm/AppPaController.cpp
@@ -9,7 +9,7 @@
 
 
 AppPaController:: AppPaController(int index, const ControllerConfig& cfg ):
- videoCaptureElement(cfg.camInfo.strRtsp, 25, 3000, appPref.getLongData("gpu.index"), true),
+ videoCaptureElement(cfg.camInfo.strRtsp, 25, 3000, appPref.getIntData("gpu.index"), true),
  m_index(index),
  fdfsClient(nullptr),
  yoloRpcElement(to_string(index) + "yoloRpc"),

--
Gitblit v1.8.0