From 25aa12643351c69b3a5afff481aa29583acf1472 Mon Sep 17 00:00:00 2001
From: xuxiuxi <xuxiuxi@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期六, 01 四月 2017 15:32:29 +0800
Subject: [PATCH]
---
RtspFace/PL_AVFrameYUV420.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/RtspFace/PL_AVFrameYUV420.cpp b/RtspFace/PL_AVFrameYUV420.cpp
index 93e0507..3c61b7c 100644
--- a/RtspFace/PL_AVFrameYUV420.cpp
+++ b/RtspFace/PL_AVFrameYUV420.cpp
@@ -11,7 +11,7 @@
struct AVFrameYUV420_Internal
{
- uint8_t buffer[1920*1080*3];
+ uint8_t buffer[1920*1080*3];//#todo from config
size_t buffSize;
size_t buffSizeMax;
MB_Frame lastFrame;
@@ -69,7 +69,7 @@
if (pm.type != PipeMaterial::PMT_FRAME)
{
- LOG(ERROR) << "PL_AVFrameYUV420::pay only support PMT_FRAME";
+ LOG_ERROR << "Only support PMT_FRAME" << std::endl;
return false;
}
@@ -79,7 +79,7 @@
MB_Frame* frame = (MB_Frame*)pm.buffer;
if (frame->type != MB_Frame::MBFT_PTR_AVFRAME)
{
- LOG(ERROR) << "PL_AVFrameYUV420::pay only support MBFT_PTR_AVFRAME";
+ LOG_ERROR << "Only support MBFT_PTR_AVFRAME" << std::endl;
return false;
}
--
Gitblit v1.8.0