diff options
Diffstat (limited to 'receiver.h')
-rw-r--r-- | receiver.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/receiver.h b/receiver.h new file mode 100644 index 0000000..7de50db --- /dev/null +++ b/receiver.h @@ -0,0 +1,29 @@ +#ifndef VDR_OSDPIP_RECEIVER_H +#define VDR_OSDPIP_RECEIVER_H + +#include <vdr/receiver.h> +#include <vdr/thread.h> + +class cRingBufferLinear; +class cTS2ESRemux; + +class cOsdPipReceiver: public cReceiver, public cThread { +private: + cRingBufferLinear *m_TSBuffer; + cRingBufferLinear *m_ESBuffer; + cTS2ESRemux *m_Remux; + + bool m_Active; + +protected: + virtual void Activate(bool On); + virtual void Receive(uchar *Data, int Length); + virtual void Action(void); + +public: + cOsdPipReceiver::cOsdPipReceiver(const cChannel *Channel, + cRingBufferLinear *ESBuffer); + virtual ~cOsdPipReceiver(); +}; + +#endif // VDR_OSDPIP_RECEIVER_H |