File: nit.h

package info (click to toggle)
w-scan-cpp 0~20230121-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,008 kB
  • sloc: ansic: 69,193; cpp: 9,599; makefile: 1,149; perl: 862; python: 74; sh: 70
file content (27 lines) | stat: -rw-r--r-- 553 bytes parent folder | download | duplicates (6)
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