From 0c3bba1a4d7b652807dfb74e1a31012802bd2987 Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 17 八月 2017 12:26:55 +0800 Subject: [PATCH] aaaaa --- RtspFace/PL_H264FileFramer.h | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/RtspFace/PL_AndroidMediaCodecFileFrame.h b/RtspFace/PL_H264FileFramer.h similarity index 60% rename from RtspFace/PL_AndroidMediaCodecFileFrame.h rename to RtspFace/PL_H264FileFramer.h index c73f78a..95be8c3 100644 --- a/RtspFace/PL_AndroidMediaCodecFileFrame.h +++ b/RtspFace/PL_H264FileFramer.h @@ -1,25 +1,25 @@ -#ifndef _PL_ANDROIDMEDIACODECFILEFRAME_H_ -#define _PL_ANDROIDMEDIACODECFILEFRAME_H_ +#ifndef _PL_H264FILEFRAMER_H_ +#define _PL_H264FILEFRAMER_H_ #include "PipeLine.h" -struct PL_AndroidMediaCodecFileFrame_Config +struct PL_H264FileFramer_Config { char sz_path[256]; bool b_loop_play; - PL_AndroidMediaCodecFileFrame_Config() : + PL_H264FileFramer_Config() : b_loop_play(false) { memset(sz_path,0,256); } }; -class PL_AndroidMediaCodecFileFrame : public PipeLineElem +class PL_H264FileFramer : public PipeLineElem { public: - PL_AndroidMediaCodecFileFrame(); - virtual ~PL_AndroidMediaCodecFileFrame(); + PL_H264FileFramer(); + virtual ~PL_H264FileFramer(); virtual bool init(void* args); virtual void finit(); @@ -29,7 +29,7 @@ private: void* internal; - bool m_b_loop_play; + bool m_b_loop_play;//#todo move to config std::string m_str_context; std::string m_str_old_context; std::string m_str_buf; @@ -42,6 +42,6 @@ int analyse_context(); }; -PipeLineElem* create_PL_AndroidMediaCodecFileFrame(); +PipeLineElem* create_PL_H264FileFramer(); #endif -- Gitblit v1.8.0