2008-01-30 23:41:58 +01:00
|
|
|
/*
|
|
|
|
* 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
|
|
|
|
|
2008-02-02 21:51:47 +01:00
|
|
|
#include <vdr/tools.h>
|
2008-01-30 23:41:58 +01:00
|
|
|
#include <vdr/channels.h>
|
|
|
|
|
|
|
|
class cPidScanner {
|
|
|
|
private:
|
2008-02-01 22:54:24 +01:00
|
|
|
cTimeMs timeout;
|
2010-11-29 20:09:17 +01:00
|
|
|
tChannelID channelId;
|
2008-01-30 23:41:58 +01:00
|
|
|
bool process;
|
|
|
|
int Vpid;
|
|
|
|
int Apid;
|
|
|
|
int numVpids;
|
|
|
|
int numApids;
|
|
|
|
|
|
|
|
public:
|
|
|
|
cPidScanner(void);
|
|
|
|
~cPidScanner();
|
2010-11-29 20:09:17 +01:00
|
|
|
void SetChannel(const tChannelID &ChannelId);
|
2008-02-02 21:51:47 +01:00
|
|
|
void Process(const uint8_t* buf);
|
2008-01-30 23:41:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __PIDSCANNER_H
|