30 const char *msg =
"ERROR: cReceiver has not been detached yet! This is a design fault and VDR will abort now!";
32 fprintf(stderr,
"%s\n", msg);
53 dsyslog(
"too many PIDs in cReceiver (Pid = %d)", Pid);
71 bool cReceiver::AddPids(
int Pid1,
int Pid2,
int Pid3,
int Pid4,
int Pid5,
int Pid6,
int Pid7,
int Pid8,
int Pid9)
93 for (
int i = 0; i <
numPids; i++) {
117 for (
int i = 0; i <
numPids; i++) {
const int * Dpids(void) const
tChannelID GetChannelID(void) const
const int * Spids(void) const
const int * Apids(void) const
void DelPid(int Pid, ePidType PidType=ptOther)
Deletes a PID from the set of PIDs this device shall receive.
void Detach(cFilter *Filter)
Detaches the given filter from this device.
bool AddPid(int Pid, ePidType PidType=ptOther, int StreamType=0)
Adds a PID to the set of PIDs this device shall receive.
void SetPriority(int Priority)
bool AddPids(const int *Pids)
Adds the given zero terminated list of Pids to the list of PIDs of this receiver.
bool AddPid(int Pid)
Adds the given Pid to the list of PIDs of this receiver.
bool SetPids(const cChannel *Channel)
Sets the PIDs of this receiver to those of the given Channel, replacing any previously stored PIDs.
void DelPids(const int *Pids)
Deletes the given zero terminated list of Pids from the list of PIDs of this receiver.
time_t startScrambleDetection
time_t lastScrambledPacket
cReceiver(const cChannel *Channel=NULL, int Priority=MINPRIORITY)
Creates a new receiver for the given Channel with the given Priority.
void DelPid(int Pid)
Deletes the given Pid from the list of PIDs of this receiver.