mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
- Completed the Finnish OSD texts (thanks to Rolf Ahrenberg). - Fixed some descriptor handling in 'libsi' (thanks to Stéphane Esté-Gracias). - Fixed handling the current menu item (thanks to Marc Hoppe). - Fixed assigning events to timers (they no longer get "stuck"). - Added log entries whenever the running status of an event changes (currently only logging the first 30 channels). - Fixed handling timers in VPS margin if the EPG scan is turned on (the EPG scan switched the device away from the channel, so it wouldn't see the change of the running status). - Fixed handling "itemized" texts in EPG data (thanks to Stéphane Esté-Gracias for pointing out this problem, and Marcel Wiesweg for improving 'libsi'). - Fixed handling VPS times at year boundaries. - Avoiding too many consecutive "ring buffer overflow" messages (which only slowed down performance even more). - Taking the Sid into account when detecting version changes in processing the PMT (thanks to Stéphane Esté-Gracias for pointing out this problem). - Completed the Russian OSD texts (thanks to Vyacheslav Dikonov). - Any newline characters in the 'description' of EPG events are now preserved to allow texts to be displayed the way the tv stations have formatted them. This was also necessary to better display itemized texts. - Fixed detecting the running status in case an empty EPG event is broadcast (thanks to Michael Pennewiß for pointing this out). - Improved performance when paging through very long menu lists. - Removed cSchedule::GetEventNumber() and cSchedule::NumEvents(). There is now cSchedule::Events() that returns the list of events directly. - Avoiding occasional bad responsiveness to user interaction caused by assigning events to timers. - Now explicitly turning on the LNB power at startup, because newer drivers don't do this any more (thanks to Oliver Endriss for pointing this out).
45 lines
1.5 KiB
C++
45 lines
1.5 KiB
C++
/*
|
|
* pat.h: PAT section filter
|
|
*
|
|
* See the main source file 'vdr.c' for copyright information and
|
|
* how to reach the author.
|
|
*
|
|
* $Id: pat.h 1.4 2004/03/07 16:22:01 kls Exp $
|
|
*/
|
|
|
|
#ifndef __PAT_H
|
|
#define __PAT_H
|
|
|
|
#include "filter.h"
|
|
#include <stdint.h>
|
|
|
|
#define MAXPMTENTRIES 64
|
|
|
|
class cPatFilter : public cFilter {
|
|
private:
|
|
time_t lastPmtScan;
|
|
int pmtIndex;
|
|
int pmtPid;
|
|
uint64_t pmtVersion[MAXPMTENTRIES];
|
|
int numPmtEntries;
|
|
bool PmtVersionChanged(int PmtPid, int Sid, int Version);
|
|
protected:
|
|
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
|
|
public:
|
|
cPatFilter(void);
|
|
virtual void SetStatus(bool On);
|
|
void Trigger(void);
|
|
};
|
|
|
|
int GetCaDescriptors(int Source, int Transponder, int ServiceId, const unsigned short *CaSystemIds, int BufSize, uchar *Data, bool &StreamFlag);
|
|
///< Gets all CA descriptors for a given channel.
|
|
///< Copies all available CA descriptors for the given Source, Transponder and ServiceId
|
|
///< into the provided buffer at Data (at most BufSize bytes). Only those CA descriptors
|
|
///< are copied that match one of the given CA system IDs.
|
|
///< \return Returns the number of bytes copied into Data (0 if no CA descriptors are
|
|
///< available), or -1 if BufSize was too small to hold all CA descriptors.
|
|
///< The return value in StreamFlag tells whether these CA descriptors are to be used
|
|
///< for the individual streams.
|
|
|
|
#endif //__PAT_H
|