summaryrefslogtreecommitdiff
path: root/remux/ts2es.h
blob: 95eceb90218a85507b1d3eb6f645fef5295919ab (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
#ifndef VDR_STREAMDEV_TS2ESREMUX_H
#define VDR_STREAMDEV_TS2ESREMUX_H

#include "remux/tsremux.h"
#include "server/streamer.h"

namespace Streamdev {

class cTS2ES;

class cTS2ESRemux: public cTSRemux {
private:
	int                m_Pid;
	cStreamdevBuffer  *m_ResultBuffer;
	cTS2ES            *m_Remux;

public:
	cTS2ESRemux(int Pid);
	virtual ~cTS2ESRemux();
	
	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_TS2ESREMUX_H