From 93fcc2eb2db5038ca1944acde9f4c8b751aca930 Mon Sep 17 00:00:00 2001
From: xuxiuxi <554325746@qq.com>
Date: 星期一, 04 三月 2019 16:27:14 +0800
Subject: [PATCH] add models, daos and controllers for tables.
---
QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.cpp b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.cpp
index 16aafb7..048999e 100644
--- a/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.cpp
+++ b/QiaoJiaSystem/VideoToImageMulth/RtspCaptureElement.cpp
@@ -82,6 +82,7 @@
}
void RtspCaptureElement::SaveVideo(const std::string &strImageName)
{
+ INFO("SaveVideo: "<<strImageName);
std::string strTimeStamp= AppUtil::getTimeUSecString();
std::string strPath=MakeDir(strTimeStamp);
m_capture->SaveVideoByImageName(strPath,strImageName);
@@ -93,16 +94,19 @@
if(m_gpuIndex>=0){
setenv("CUDA_VISIBLE_DEVICES", std::to_string(m_gpuIndex).c_str(),0);
}
+ INFO("Open Video "<<m_path<<" GPU_Index: "<<m_gpuIndex);
m_capture->open(m_path.c_str(),m_gpuIndex>=0);
}
void RtspCaptureElement::threadInitial()
{
+ INFO("MYH DEBUG");
openVideo();
}
void RtspCaptureElement::threadClosing()
{
+ INFO("MYH DEBUG");
m_capture->close();
delete m_capture;
m_capture = nullptr;
--
Gitblit v1.8.0