vdr-plugin-streamdev/remux/extern.h

29 lines
660 B
C
Raw Normal View History

2010-12-02 08:53:01 +01:00
#ifndef VDR_STREAMDEV_EXTERNREMUX_H
#define VDR_STREAMDEV_EXTERNREMUX_H
#include "remux/tsremux.h"
#include <vdr/ringbuffer.h>
2010-12-02 09:02:31 +01:00
#include <string>
2010-12-02 08:53:01 +01:00
2010-12-02 09:44:53 +01:00
namespace Streamdev {
2010-12-02 08:53:01 +01:00
class cTSExt;
class cExternRemux: public cTSRemux {
private:
cRingBufferLinear *m_ResultBuffer;
cTSExt *m_Remux;
public:
2010-12-02 09:02:31 +01:00
cExternRemux(int VPid, const int *APids, const int *Dpids, const int *SPids, std::string Parameter);
2010-12-02 08:53:01 +01:00
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); }
};
2010-12-02 09:44:53 +01:00
} // namespace Streamdev
2010-12-02 08:53:01 +01:00
#endif // VDR_STREAMDEV_EXTERNREMUX_H