summaryrefslogtreecommitdiff
path: root/receiver.h
blob: 7de50dba27581094be68add99324b7fb276627b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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