diff options
| author | kwacker <vdr@w-i-r.com> | 2010-04-11 13:46:11 +0200 |
|---|---|---|
| committer | kwacker <vdr@w-i-r.com> | 2010-04-11 13:46:11 +0200 |
| commit | 9b144d30e0ea8ce900c37b96ba2cbdda14b0ae88 (patch) | |
| tree | 3a52de029f950dcd9f9856a53fd67abef8519e68 /plugins/streamdev/streamdev-cvs/remux/extern.h | |
| parent | 9cd931834ecadbf5efefdf484abb966e9248ebbb (diff) | |
| download | x-vdr-9b144d30e0ea8ce900c37b96ba2cbdda14b0ae88.tar.gz x-vdr-9b144d30e0ea8ce900c37b96ba2cbdda14b0ae88.tar.bz2 | |
Burn 0.2.0-beta3 und Streamdev mit Paches aktualisiert
Diffstat (limited to 'plugins/streamdev/streamdev-cvs/remux/extern.h')
| -rw-r--r-- | plugins/streamdev/streamdev-cvs/remux/extern.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/streamdev/streamdev-cvs/remux/extern.h b/plugins/streamdev/streamdev-cvs/remux/extern.h new file mode 100644 index 0000000..ff4ddec --- /dev/null +++ b/plugins/streamdev/streamdev-cvs/remux/extern.h @@ -0,0 +1,28 @@ +#ifndef VDR_STREAMDEV_EXTERNREMUX_H +#define VDR_STREAMDEV_EXTERNREMUX_H + +#include "remux/tsremux.h" +#include <vdr/ringbuffer.h> +#include <string> + +namespace Streamdev { + +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, std::string Parameter); + 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); } +}; + +} // namespace Streamdev + +#endif // VDR_STREAMDEV_EXTERNREMUX_H |
