File: ts2es.h

package info (click to toggle)
vdr-plugin-streamdev 0.6.1%2Bgit20170911-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,244 kB
  • sloc: ansic: 16,280; sh: 237; makefile: 178
file content (28 lines) | stat: -rw-r--r-- 586 bytes parent folder | download | duplicates (8)
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