summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--nit.c4
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
diff --git a/HISTORY b/HISTORY
index 76cf574f..5f1252be 100644
--- a/HISTORY
+++ b/HISTORY
@@ -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).
diff --git a/nit.c b/nit.c
index f236be9f..f3887164 100644
--- a/nit.c
+++ b/nit.c
@@ -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()];