You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
776 B

* sidscanner.h: IPTV plugin for the Video Disk Recorder
* See the README file for copyright information and how to reach the author.
#ifndef __SIDSCANNER_H
#define __SIDSCANNER_H
#include <vdr/channels.h>
#include <vdr/filter.h>
#include "log.h"
class cSidScanner : public cFilter {
tChannelID channelIdM;
bool sidFoundM;
bool nidFoundM;
bool tidFoundM;
bool isActiveM;
virtual void Process(u_short pidP, u_char tidP, const u_char *dataP, int lengthP);
void SetChannel(const tChannelID &channelIdP);
void Open() { debug1("%s", __PRETTY_FUNCTION__); isActiveM = true; }
void Close() { debug1("%s", __PRETTY_FUNCTION__); isActiveM = false; }
#endif // __SIDSCANNER_H