From cc445067d1f61e12dbea4e6458f2c85ba58f01bf Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期五, 30 十二月 2016 14:28:14 +0800 Subject: [PATCH] fix config, fix some log and todo --- 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..98bf843 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"; 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"; return false; } -- Gitblit v1.8.0