2005-02-12 18:20:35 +01:00
|
|
|
#ifndef VDR_STREAMDEV_EXTERNREMUX_H
|
|
|
|
#define VDR_STREAMDEV_EXTERNREMUX_H
|
|
|
|
|
|
|
|
#include "remux/tsremux.h"
|
|
|
|
#include <vdr/ringbuffer.h>
|
|
|
|
|
2007-02-19 13:08:16 +01:00
|
|
|
extern const char *g_ExternRemux;
|
|
|
|
|
2005-02-12 18:20:35 +01:00
|
|
|
class cTSExt;
|
|
|
|
|
|
|
|
class cExternRemux: public cTSRemux {
|
|
|
|
private:
|
|
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
|
|
cTSExt *m_Remux;
|
|
|
|
|
|
|
|
public:
|
|
|
|
cExternRemux(int VPid, const int *APids, const int *Dpids, const int *SPids);
|
|
|
|
virtual ~cExternRemux();
|
|
|
|
|
|
|
|
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_EXTERNREMUX_H
|