summaryrefslogtreecommitdiff
path: root/nit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-18 16:34:25 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-18 16:34:25 +0100
commita3d995547f1d734f9229977376d5f7789b857781 (patch)
treeac1c37dd8232105f1dbf152d56c5d284f0a4d174 /nit.c
parent833a89289bc1ca7d301808588e7da2d1cce37a6d (diff)
downloadvdr-a3d995547f1d734f9229977376d5f7789b857781.tar.gz
vdr-a3d995547f1d734f9229977376d5f7789b857781.tar.bz2
Fixed setting the source type for newly detected terrestrial transponders1.3.2
Diffstat (limited to 'nit.c')
-rw-r--r--nit.c4
1 files changed, 2 insertions, 2 deletions
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()];