summaryrefslogtreecommitdiff
path: root/nit.h
blob: 52676c0d19d9eed23d23a6ffb8d83873dcdcbbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * nit.h: NIT section filter
 *
 * See the main source file 'vdr.c' for copyright information and
 * how to reach the author.
 *
 * $Id: nit.h 4.1 2015/03/16 12:41:38 kls Exp $
 */

#ifndef __NIT_H
#define __NIT_H

#include "filter.h"
#include "sdt.h"

class cNitFilter : public cFilter {
private:
  cSectionSyncer sectionSyncer;
  cSdtFilter *sdtFilter;
protected:
  virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
public:
  cNitFilter(cSdtFilter *SdtFilter);
  virtual void SetStatus(bool On);
  };

#endif //__NIT_H