From 17b4db15ed0543099193ec337d064abde39e922e Mon Sep 17 00:00:00 2001 From: chenshijun <csj_sky@126.com> Date: 星期四, 24 一月 2019 13:49:30 +0800 Subject: [PATCH] test --- QiaoJiaSystem/VideoAnalysFromHC/main.cpp | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp index cfb0eba..aad133b 100644 --- a/QiaoJiaSystem/VideoAnalysFromHC/main.cpp +++ b/QiaoJiaSystem/VideoAnalysFromHC/main.cpp @@ -42,8 +42,8 @@ static void startRtspAnalysElement(LDBTool *_dbTool) { RtspAnalysElement rtspAnalysElement(_dbTool); - NewEncodeVideoManager newEncodeVideoManager; - newEncodeVideoManager.start(); +// NewEncodeVideoManager newEncodeVideoManager; +// newEncodeVideoManager.start(); while (1) { sleep(1 * 60 * 60 * 12); } @@ -66,7 +66,10 @@ int main(int argc, char **argv) { SAVE_APP_ARGS - ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); + +#ifdef GLOG + ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); +#endif appPref.setLongData("gpu.index", 0); appPref.setIntData("show.image", 0); @@ -126,7 +129,7 @@ appPref.setStringData("fxDevID", rec.dev_id.toStdString()); appPref.setStringData("fxDevNAME", rec.dev_name.toStdString()); appPref.setStringData("user.loop.absolute.path", appConfig.getStringProperty("cutPath")); - + appPref.setStringData("clusterID", appConfig.getStringProperty("clusterID")); bool loopRet = true; while (loopRet) { -- Gitblit v1.8.0