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>
|
2008-03-28 16:11:40 +01:00
|
|
|
#include <string>
|
2005-02-12 18:20:35 +01:00
|
|
|
|
2010-12-02 09:57:17 +01:00
|
|
|
class cChannel;
|
2014-08-30 23:58:11 +02:00
|
|
|
class cPatPmtParser;
|
2010-12-02 09:57:17 +01:00
|
|
|
class cServerConnection;
|
|
|
|
|
2009-06-19 08:32:38 +02:00
|
|
|
namespace Streamdev {
|
|
|
|
|
2005-02-12 18:20:35 +01:00
|
|
|
class cTSExt;
|
|
|
|
|
|
|
|
class cExternRemux: public cTSRemux {
|
|
|
|
private:
|
|
|
|
cRingBufferLinear *m_ResultBuffer;
|
|
|
|
cTSExt *m_Remux;
|
|
|
|
|
|
|
|
public:
|
2010-12-02 09:57:17 +01:00
|
|
|
cExternRemux(const cServerConnection *Connection, const cChannel *Channel, const int *APids, const int *Dpids);
|
2014-08-30 23:58:11 +02:00
|
|
|
cExternRemux(const cServerConnection *Connection, const cPatPmtParser *PatPmt, const int *APids, const int *Dpids);
|
2005-02-12 18:20:35 +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); }
|
|
|
|
};
|
|
|
|
|
2009-06-19 08:32:38 +02:00
|
|
|
} // namespace Streamdev
|
|
|
|
|
2005-02-12 18:20:35 +01:00
|
|
|
#endif // VDR_STREAMDEV_EXTERNREMUX_H
|