From 109ffe9a777658936a38d0c146579a67c60a0d17 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期四, 11 五月 2017 17:48:48 +0800
Subject: [PATCH] 

---
 RtspFace/PL_DlibFaceTrack.cpp |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/RtspFace/PL_DlibFaceTrack.cpp b/RtspFace/PL_DlibFaceTrack.cpp
index 5c5dcea..96964ab 100644
--- a/RtspFace/PL_DlibFaceTrack.cpp
+++ b/RtspFace/PL_DlibFaceTrack.cpp
@@ -75,18 +75,18 @@
 		in->config = *config;
 	
 #ifdef __AVX__
-	LOG_DEBUG << "AVX on";
+	LOG_DEBUG << "AVX on" << std::endl;
 	#ifdef DLIB_HAVE_SSE2
-		LOG_DEBUG << "DLIB_HAVE_SSE2 on";
+		LOG_DEBUG << "DLIB_HAVE_SSE2 on" << std::endl;
 	#endif
 	#ifdef DLIB_HAVE_SSE3
-		LOG_DEBUG << "DLIB_HAVE_SSE3 on";
+		LOG_DEBUG << "DLIB_HAVE_SSE3 on" << std::endl;
 	#endif
 	#ifdef DLIB_HAVE_SSE41
-		LOG_DEBUG << "DLIB_HAVE_SSE41 on";
+		LOG_DEBUG << "DLIB_HAVE_SSE41 on" << std::endl;
 	#endif
 	#ifdef DLIB_HAVE_AVX
-		LOG_DEBUG << "DLIB_HAVE_AVX on";
+		LOG_DEBUG << "DLIB_HAVE_AVX on" << std::endl;
 	#endif
 #endif
 	
@@ -256,7 +256,7 @@
 
 	if (pm.type != PipeMaterial::PMT_FRAME)
 	{
-		LOG_ERROR << "Only support PMT_FRAME";
+		LOG_ERROR << "Only support PMT_FRAME" << std::endl;
 		return false;
 	}
 	
@@ -266,7 +266,7 @@
 	MB_Frame* frame = (MB_Frame*)pm.buffer;
 	if (frame->type != MB_Frame::MBFT_YUV420)
 	{
-		LOG_ERROR << "Only support MBFT_YUV420";
+		LOG_ERROR << "Only support MBFT_YUV420" << std::endl;
 		return false;
 	}
 
@@ -281,7 +281,6 @@
 		in->payError = false;
 	
 	//in->buffer readly
-in->payError = false;//#todo
 	in->lastFrame.type = MB_Frame::MBFT_YUV420;
 	in->lastFrame.buffer = frame->buffer;//#todo should copy
 	in->lastFrame.buffSize = frame->buffSize;

--
Gitblit v1.8.0