diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-18 16:34:25 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-01-18 16:34:25 +0100 |
commit | a3d995547f1d734f9229977376d5f7789b857781 (patch) | |
tree | ac1c37dd8232105f1dbf152d56c5d284f0a4d174 | |
parent | 833a89289bc1ca7d301808588e7da2d1cce37a6d (diff) | |
download | vdr-1.3.2.tar.gz vdr-1.3.2.tar.bz2 |
Fixed setting the source type for newly detected terrestrial transponders1.3.2
-rw-r--r-- | CONTRIBUTORS | 2 | ||||
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | nit.c | 4 |
3 files changed, 6 insertions, 2 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a49d7d66..f07b4207 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -916,3 +916,5 @@ Stephan Epstein <s.epstein@vinzenz.com> Christian Tramnitz <maillist@tramnitz.com> for pointing out a problem with wrong parameter settings when scanning NITs for terrestrial transponders + for his support in debugging a problem in setting the source type for newly + detected terrestrial transponders @@ -2608,3 +2608,5 @@ Video Disk Recorder Revision History use them (thanks to Marcel Wiesweg). - Now only processing NITs that contain the transponder they are actually broadcast on. +- Fixed setting the source type for newly detected terrestrial transponders + (thanks to Christian Tramnitz for his support in debugging this). @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: nit.c 1.4 2004/01/18 16:31:08 kls Exp $ + * $Id: nit.c 1.5 2004/01/18 16:32:45 kls Exp $ */ #include "nit.h" @@ -167,7 +167,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length break; case SI::TerrestrialDeliverySystemDescriptorTag: { SI::TerrestrialDeliverySystemDescriptor *sd = (SI::TerrestrialDeliverySystemDescriptor *)d; - int Source = cSource::FromData(cSource::stCable); + int Source = cSource::FromData(cSource::stTerr); int Frequency = sd->getFrequency() * 10; static int Bandwidths[] = { BANDWIDTH_8_MHZ, BANDWIDTH_7_MHZ, BANDWIDTH_6_MHZ, BANDWIDTH_AUTO, BANDWIDTH_AUTO, BANDWIDTH_AUTO, BANDWIDTH_AUTO, BANDWIDTH_AUTO }; int Bandwidth = Bandwidths[sd->getBandwidth()]; |