From 833a89289bc1ca7d301808588e7da2d1cce37a6d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 18 Jan 2004 16:31:58 +0100 Subject: Now only processing NITs that contain the transponder they are actually broadcast on --- nit.h | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'nit.h') diff --git a/nit.h b/nit.h index e7d987df..018902c3 100644 --- a/nit.h +++ b/nit.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.h 1.1 2004/01/11 14:31:05 kls Exp $ + * $Id: nit.h 1.2 2004/01/18 16:31:08 kls Exp $ */ #ifndef __NIT_H @@ -12,9 +12,23 @@ #include "filter.h" +#define MAXNITS 16 +#define MAXNETWORKNAME 256 + class cNitFilter : public cFilter { private: + + class cNit { + public: + u_short networkId; + char name[MAXNETWORKNAME]; + bool hasTransponder; + }; + cSectionSyncer sectionSyncer; + cNit nits[MAXNITS]; + u_short networkId; + int numNits; protected: virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length); public: -- cgit v1.2.3