From 21d2e4cd4e3ec5ec6f7f32ed5426b069a303adfb Mon Sep 17 00:00:00 2001
From: pans <pans@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期二, 10 一月 2017 18:02:07 +0800
Subject: [PATCH]
---
RtspFace/PL_RTSPClient.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/RtspFace/PL_RTSPClient.cpp b/RtspFace/PL_RTSPClient.cpp
index 0a1b163..759fc5d 100644
--- a/RtspFace/PL_RTSPClient.cpp
+++ b/RtspFace/PL_RTSPClient.cpp
@@ -197,7 +197,7 @@
if (client->manager == nullptr)
return;
- client->manager->set_global_param(PLGP_RTSP_SDP, val);
+ client->manager->set_param(PLGP_RTSP_SDP, val);
}
void rtsp_client_fmtp_callback(void* arg, const char* val)
@@ -210,7 +210,7 @@
if (client->manager == nullptr)
return;
- client->manager->set_global_param(PLGP_RTSP_FMTP, val);
+ client->manager->set_param(PLGP_RTSP_FMTP, val);
}
void rtsp_client_frame_callback(void* arg, uint8_t* buffer, size_t buffSize, timeval presentationTime)
@@ -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);
}
}
@@ -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));
+ printf("pthread_mutex_unlock continue_mutex: %s/n", strerror(ret));//#todo
}
}
--
Gitblit v1.8.0