diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-18 16:31:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-18 16:31:58 +0100 |
commit | 833a89289bc1ca7d301808588e7da2d1cce37a6d (patch) | |
tree | d6773c567affb76592a5ad8ab8099ab0fee7076b /nit.h | |
parent | 5651c5542fcb1fc3689bc9fb0efd0964b4cb7f18 (diff) | |
download | vdr-833a89289bc1ca7d301808588e7da2d1cce37a6d.tar.gz vdr-833a89289bc1ca7d301808588e7da2d1cce37a6d.tar.bz2 |
Now only processing NITs that contain the transponder they are actually broadcast on
Diffstat (limited to 'nit.h')
-rw-r--r-- | nit.h | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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: |