summaryrefslogtreecommitdiff
path: root/nit.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-18 16:31:58 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-18 16:31:58 +0100
commit833a89289bc1ca7d301808588e7da2d1cce37a6d (patch)
treed6773c567affb76592a5ad8ab8099ab0fee7076b /nit.h
parent5651c5542fcb1fc3689bc9fb0efd0964b4cb7f18 (diff)
downloadvdr-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.h16
1 files changed, 15 insertions, 1 deletions
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: