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/StructureApp/NewEncodeVideo.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/QiaoJiaSystem/StructureApp/NewEncodeVideo.cpp b/QiaoJiaSystem/StructureApp/NewEncodeVideo.cpp index 067444f..0cd846f 100644 --- a/QiaoJiaSystem/StructureApp/NewEncodeVideo.cpp +++ b/QiaoJiaSystem/StructureApp/NewEncodeVideo.cpp @@ -19,7 +19,7 @@ return ; } int size=m_hiredisTool.getSize(src_path); - DBG("buf_size="<<size<<" file_name="<<src_path); + // DBG("buf_size="<<size<<" file_name="<<src_path); bool fileCreate = false; for(int i=0;i<size;++i) { @@ -30,6 +30,7 @@ if(!fileCreate) { fileCreate = true; + DBG("fileCreate buf_size="<<size<<" file_name="<<src_path); videoEncoderElement.threadInitial(getProperty("src_path"),img); } -- Gitblit v1.8.0