Logo Search packages:      
Sourcecode: vdr-plugin-streamdev version File versions  Download package

ts2es.h

#ifndef VDR_STREAMDEV_TS2ESREMUX_H
#define VDR_STREAMDEV_TS2ESREMUX_H

#include "remux/tsremux.h"
#include <vdr/ringbuffer.h>

class cTS2ES;
class cRingBufferLinear;

class cTS2ESRemux: public cTSRemux {
private:
      int                m_Pid;
      cRingBufferLinear *m_ResultBuffer;
      cTS2ES            *m_Remux;

public:
      cTS2ESRemux(int Pid);
      virtual ~cTS2ESRemux();
      
      int Put(const uchar *Data, int Count);
      uchar *Get(int &Count) { return m_ResultBuffer->Get(Count); }
      void Del(int Count) { m_ResultBuffer->Del(Count); }
};

#endif // VDR_STREAMDEV_TS2ESREMUX_H

Generated by  Doxygen 1.6.0   Back to index