houxiao
2017-08-17 0c3bba1a4d7b652807dfb74e1a31012802bd2987
RtspFace/PL_H264FileFramer.h
File was renamed from RtspFace/PL_AndroidMediaCodecFileFrame.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