From 0688756b71b40e0ac60c68af2fa1fe4aaeb1718d Mon Sep 17 00:00:00 2001
From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期一, 13 二月 2017 16:27:41 +0800
Subject: [PATCH] replace log to support android

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

diff --git a/RtspFace/PL_DlibFaceTrack.cpp b/RtspFace/PL_DlibFaceTrack.cpp
index 0f88a75..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;
 	}
 

--
Gitblit v1.8.0