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/PipeLinePool.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/RtspFace/PipeLinePool.cpp b/RtspFace/PipeLinePool.cpp
index cba5a1b..d003a48 100644
--- a/RtspFace/PipeLinePool.cpp
+++ b/RtspFace/PipeLinePool.cpp
@@ -6,7 +6,7 @@
 	int ret = pthread_mutex_lock((pthread_mutex_t*)mut); \
 	if(ret != 0) \
 	{ \
-		LOG_ERROR << "pthread_mutex_lock " << #mut <<  ": " << ret; \
+		LOG_ERROR << "pthread_mutex_lock " << #mut <<  ": " << ret << std::endl; \
 		return _ret; \
 	} \
 }
@@ -15,7 +15,7 @@
 	int ret = pthread_mutex_unlock((pthread_mutex_t*)mut); \
 	if(ret != 0) \
 	{ \
-		LOG_ERROR << "pthread_mutex_unlock " << #mut <<  ": " << ret; \
+		LOG_ERROR << "pthread_mutex_unlock " << #mut <<  ": " << ret << std::endl; \
 		return _ret; \
 	} \
 }

--
Gitblit v1.8.0