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

diff --git a/RtspFace/PL_RTSPClient.cpp b/RtspFace/PL_RTSPClient.cpp
index 759fc5d..8290f8a 100644
--- a/RtspFace/PL_RTSPClient.cpp
+++ b/RtspFace/PL_RTSPClient.cpp
@@ -231,7 +231,7 @@
 	int ret = pthread_mutex_unlock(in->frame_mutex);
 	if(ret != 0)
 	{
-		LOG_ERROR << "pthread_mutex_unlock frame_mutex: ", strerror(ret);
+		LOG_ERROR << "pthread_mutex_unlock frame_mutex: " << strerror(ret) << std::endl;
 	}
 }
 
@@ -246,6 +246,6 @@
 	int ret = pthread_mutex_lock(in->continue_mutex);
 	if(ret != 0)
 	{
-		printf("pthread_mutex_unlock continue_mutex: %s/n", strerror(ret));//#todo
+		LOG_ERROR << "pthread_mutex_unlock continue_mutex: " << strerror(ret) << std::endl;
 	}
 }

--
Gitblit v1.8.0