mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-streamdev.git
				synced 2023-10-10 17:16:51 +00:00 
			
		
		
		
	Modified Files: HISTORY common.c common.h remux/ts2ps.h remux/tsremux.h server/connectionHTTP.c server/connectionVTP.c server/livestreamer.c server/livestreamer.h server/menuHTTP.c server/setup.c
		
			
				
	
	
		
			38 lines
		
	
	
		
			861 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			861 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef VDR_STREAMDEV_TSREMUX_H
 | 
						|
#define VDR_STREAMDEV_TSREMUX_H
 | 
						|
 | 
						|
#include "libdvbmpeg/transform.h"
 | 
						|
#include <vdr/remux.h>
 | 
						|
 | 
						|
#ifndef NO_PICTURE
 | 
						|
#define NO_PICTURE 0
 | 
						|
#endif
 | 
						|
 | 
						|
#define RESULTBUFFERSIZE KILOBYTE(256)
 | 
						|
 | 
						|
class cTSRemux {
 | 
						|
protected:
 | 
						|
  /*uchar m_ResultBuffer[RESULTBUFFERSIZE];
 | 
						|
	int m_ResultCount;
 | 
						|
	int m_ResultDelivered;
 | 
						|
	int m_Synced;
 | 
						|
	int m_Skipped;
 | 
						|
	int m_Sync;
 | 
						|
 | 
						|
 | 
						|
	virtual void PutTSPacket(int Pid, const uint8_t *Data) = 0;
 | 
						|
 | 
						|
public:
 | 
						|
	cTSRemux(bool Sync = true);
 | 
						|
	virtual ~cTSRemux();
 | 
						|
	
 | 
						|
	virtual uchar *Process(const uchar *Data, int &Count, int &Result);*/
 | 
						|
 | 
						|
	static void SetBrokenLink(uchar *Data, int Length);
 | 
						|
	static int GetPid(const uchar *Data);
 | 
						|
 	static int GetPacketLength(const uchar *Data, int Count, int Offset);
 | 
						|
	static int ScanVideoPacket(const uchar *Data, int Count, int Offset, uchar &PictureType);
 | 
						|
};
 | 
						|
 | 
						|
#endif // VDR_STREAMDEV_TSREMUX_H
 |