2004-12-30 23:43:55 +01:00
|
|
|
#ifndef VDR_STREAMDEV_TS2ESREMUX_H
|
|
|
|
#define VDR_STREAMDEV_TS2ESREMUX_H
|
|
|
|
|
|
|
|
#include "remux/tsremux.h"
|
2005-02-11 17:44:14 +01:00
|
|
|
#include <vdr/ringbuffer.h>
|
2004-12-30 23:43:55 +01:00
|
|
|
|
|
|
|
class cTS2ES;
|
2005-02-11 17:44:14 +01:00
|
|
|
class cRingBufferLinear;
|
2004-12-30 23:43:55 +01:00
|
|
|
|
|
|
|
class cTS2ESRemux: public cTSRemux {
|
|
|
|
private:
|
2005-02-11 17:44:14 +01:00
|
|
|
int m_Pid;
|
|
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
|
|
cTS2ES *m_Remux;
|
2004-12-30 23:43:55 +01:00
|
|
|
|
|
|
|
public:
|
|
|
|
cTS2ESRemux(int Pid);
|
|
|
|
virtual ~cTS2ESRemux();
|
2005-02-11 17:44:14 +01:00
|
|
|
|
|
|
|
int Put(const uchar *Data, int Count);
|
|
|
|
uchar *Get(int &Count) { return m_ResultBuffer->Get(Count); }
|
|
|
|
void Del(int Count) { m_ResultBuffer->Del(Count); }
|
2004-12-30 23:43:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VDR_STREAMDEV_TS2ESREMUX_H
|