From 742a526ddc896d3a561bbb147bea62fd7e99fb77 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 24 三月 2017 17:44:33 +0800
Subject: [PATCH]
---
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 d169da2..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)
{
- printf("pthread_mutex_unlock frame_mutex: %s/n", 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));
+ LOG_ERROR << "pthread_mutex_unlock continue_mutex: " << strerror(ret) << std::endl;
}
}
--
Gitblit v1.8.0