mirror of
				https://github.com/rofafor/vdr-plugin-iptv.git
				synced 2023-10-10 11:37:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			543 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			543 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * pidscanner.h: IPTV plugin for the Video Disk Recorder
 | |
|  *
 | |
|  * See the README file for copyright information and how to reach the author.
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef __PIDSCANNER_H
 | |
| #define __PIDSCANNER_H
 | |
| 
 | |
| #include <vdr/tools.h>
 | |
| #include <vdr/channels.h>
 | |
| 
 | |
| class cPidScanner {
 | |
| private:
 | |
|   cTimeMs timeout;
 | |
|   cChannel channel;
 | |
|   bool process;
 | |
|   int Vpid;
 | |
|   int Apid;
 | |
|   int numVpids;
 | |
|   int numApids;
 | |
| 
 | |
| public:
 | |
|   cPidScanner(void);
 | |
|   ~cPidScanner();
 | |
|   void SetChannel(const cChannel *Channel);
 | |
|   void Process(const uint8_t* buf);
 | |
| };
 | |
| 
 | |
| #endif // __PIDSCANNER_H
 |