From 4f6f05161e787bc05c38d5551cd2b47424f600cc Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 13 Mar 2004 10:35:38 +0100 Subject: Taking the Sid into account when detecting version changes in processing the PMT --- pat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'pat.h') diff --git a/pat.h b/pat.h index dd1a1fe8..a7f46357 100644 --- a/pat.h +++ b/pat.h @@ -4,13 +4,14 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: pat.h 1.3 2004/01/03 13:47:54 kls Exp $ + * $Id: pat.h 1.4 2004/03/07 16:22:01 kls Exp $ */ #ifndef __PAT_H #define __PAT_H #include "filter.h" +#include #define MAXPMTENTRIES 64 @@ -19,9 +20,9 @@ private: time_t lastPmtScan; int pmtIndex; int pmtPid; - int pmtVersion[MAXPMTENTRIES]; + uint64_t pmtVersion[MAXPMTENTRIES]; int numPmtEntries; - bool PmtVersionChanged(int PmtPid, int Version); + 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: -- cgit v1.2.3