1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Fixed triggering the SDT filter when parsing the NIT

This commit is contained in:
Klaus Schmidinger 2019-03-12 14:02:53 +01:00
parent df8f5f4800
commit 27c0fffe7c
3 changed files with 7 additions and 7 deletions

View File

@ -3573,6 +3573,7 @@ Helmut Binder <cco@aon.at>
for fixing accessing the actual frontend on multi frontend devices for fixing accessing the actual frontend on multi frontend devices
for fixing processing the last entry in the scan list of the EIT scanner for fixing processing the last entry in the scan list of the EIT scanner
for fixing processing transponder data in the NIT for fixing processing transponder data in the NIT
for fixing triggering the SDT filter when parsing the NIT
Ulrich Eckhardt <uli@uli-eckhardt.de> Ulrich Eckhardt <uli@uli-eckhardt.de>
for reporting a problem with shutdown after user inactivity in case a plugin is for reporting a problem with shutdown after user inactivity in case a plugin is

View File

@ -9379,3 +9379,4 @@ Video Disk Recorder Revision History
- Fixed processing the last entry in the scan list of the EIT scanner (thanks to - Fixed processing the last entry in the scan list of the EIT scanner (thanks to
Helmut Binder). Helmut Binder).
- Fixed processing transponder data in the NIT (thanks to Helmut Binder). - Fixed processing transponder data in the NIT (thanks to Helmut Binder).
- Fixed triggering the SDT filter when parsing the NIT (thanks to Helmut Binder).

12
nit.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #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; break;
case SI::S2SatelliteDeliverySystemDescriptorTag: { 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; break;
case SI::TerrestrialDeliverySystemDescriptorTag: { 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; break;
case SI::ExtensionDescriptorTag: { case SI::ExtensionDescriptorTag: {
@ -367,5 +361,9 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
delete d; delete d;
} }
} }
if (nit.getSectionNumber() == nit.getLastSectionNumber()) {
dbgnit(" trigger sdtFilter for current tp %d\n", Transponder());
sdtFilter->Trigger(Source());
}
StateKey.Remove(ChannelsModified); StateKey.Remove(ChannelsModified);
} }