2010-12-02 08:53:01 +01:00
|
|
|
#ifndef VDR_STREAMDEV_TS2ESREMUX_H
|
|
|
|
#define VDR_STREAMDEV_TS2ESREMUX_H
|
|
|
|
|
|
|
|
#include "remux/tsremux.h"
|
2010-12-02 09:44:53 +01:00
|
|
|
#include "server/streamer.h"
|
|
|
|
|
|
|
|
namespace Streamdev {
|
2010-12-02 08:53:01 +01:00
|
|
|
|
|
|
|
class cTS2ES;
|
|
|
|
|
|
|
|
class cTS2ESRemux: public cTSRemux {
|
|
|
|
private:
|
|
|
|
int m_Pid;
|
2010-12-02 09:44:53 +01:00
|
|
|
cStreamdevBuffer *m_ResultBuffer;
|
2010-12-02 08:53:01 +01:00
|
|
|
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); }
|
|
|
|
};
|
|
|
|
|
2010-12-02 09:44:53 +01:00
|
|
|
} // namespace Streamdev
|
|
|
|
|
2010-12-02 08:53:01 +01:00
|
|
|
#endif // VDR_STREAMDEV_TS2ESREMUX_H
|