diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-12 14:02:53 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2019-03-12 14:02:53 +0100 |
commit | 27c0fffe7c1114edae85c82141e366d7084a2edc (patch) | |
tree | fba10b6b2330136dca3bb0d2749afcdd54e1f84d /nit.c | |
parent | df8f5f4800593aad0a3d21855f2d0e290f6e7502 (diff) | |
download | vdr-27c0fffe7c1114edae85c82141e366d7084a2edc.tar.gz vdr-27c0fffe7c1114edae85c82141e366d7084a2edc.tar.bz2 |
Fixed triggering the SDT filter when parsing the NIT
Diffstat (limited to 'nit.c')
-rw-r--r-- | nit.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.c 4.6 2019/03/12 13:01:33 kls Exp $ + * $Id: nit.c 4.7 2019/03/12 14:00:52 kls Exp $ */ #include "nit.h" @@ -153,8 +153,6 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } - if (ISTRANSPONDER(cChannel::Transponder(Frequency, dtp.Polarization()), Transponder())) - sdtFilter->Trigger(Source); } break; case SI::S2SatelliteDeliverySystemDescriptorTag: { @@ -218,8 +216,6 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } - if (ISTRANSPONDER(Frequency / 1000, Transponder())) - sdtFilter->Trigger(Source); } break; case SI::TerrestrialDeliverySystemDescriptorTag: { @@ -286,8 +282,6 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length } } } - if (ISTRANSPONDER(Frequency / 1000000, Transponder())) - sdtFilter->Trigger(Source); } break; case SI::ExtensionDescriptorTag: { @@ -367,5 +361,9 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length delete d; } } + if (nit.getSectionNumber() == nit.getLastSectionNumber()) { + dbgnit(" trigger sdtFilter for current tp %d\n", Transponder()); + sdtFilter->Trigger(Source()); + } StateKey.Remove(ChannelsModified); } |