diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-10 14:50:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2014-03-10 14:50:58 +0100 |
commit | c5071cc87b5d5bf4cf6c685a45a8e69f9f36f5ae (patch) | |
tree | 05c1cda788d3e3b83546631cdbfa4b635523c896 /nit.c | |
parent | 0990c279c74e498b2033b254c646f859b538b83a (diff) | |
download | vdr-c5071cc87b5d5bf4cf6c685a45a8e69f9f36f5ae.tar.gz vdr-c5071cc87b5d5bf4cf6c685a45a8e69f9f36f5ae.tar.bz2 |
The SDT is now only parsed *after* the NIT has been read
Diffstat (limited to 'nit.c')
-rw-r--r-- | nit.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.c 3.1 2014/03/10 13:31:23 kls Exp $ + * $Id: nit.c 3.2 2014/03/10 14:35:31 kls Exp $ */ #include "nit.h" @@ -19,8 +19,9 @@ #define DVB_SYSTEM_1 0 // see also dvbdevice.c #define DVB_SYSTEM_2 1 -cNitFilter::cNitFilter(void) +cNitFilter::cNitFilter(cSdtFilter *SdtFilter) { + sdtFilter = SdtFilter; numNits = 0; networkId = 0; Set(0x10, 0x40); // NIT @@ -183,6 +184,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } + sdtFilter->Trigger(Source); } break; case SI::S2SatelliteDeliverySystemDescriptorTag: { @@ -253,6 +255,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } + sdtFilter->Trigger(Source); } break; case SI::TerrestrialDeliverySystemDescriptorTag: { @@ -316,6 +319,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } + sdtFilter->Trigger(Source); } break; case SI::ExtensionDescriptorTag: { |