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/EncodeServer/EncodeVideo.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/QiaoJiaSystem/EncodeServer/EncodeVideo.cpp b/QiaoJiaSystem/EncodeServer/EncodeVideo.cpp
index b9ce644..9341a44 100644
--- a/QiaoJiaSystem/EncodeServer/EncodeVideo.cpp
+++ b/QiaoJiaSystem/EncodeServer/EncodeVideo.cpp
@@ -12,7 +12,8 @@
 
 void EncodeVideo::threadFunc()
 {
-
+//    std::string tmp="threadFunc";
+//    ClockTimer cl(tmp);
 
     std::string src_path=getProperty("src_path");
     if(src_path.empty())
@@ -45,7 +46,7 @@
 
             videoEncoderElement.doFunc(img);
         }
-         usleep(2*1000);
+       //  usleep(1000);
     }
 
     videoEncoderElement.threadClosing();

--
Gitblit v1.8.0