summaryrefslogtreecommitdiff
path: root/nit.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-02-13 15:50:26 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-02-13 15:50:26 +0100
commit06d53423935ca57269e6cd577f3482cceb2b9205 (patch)
tree219a173d6e6d88db64f33d789abc4000fafe5b9d /nit.c
parent30d262fa8871771ceca38828f52d8441c4d62743 (diff)
downloadvdr-06d53423935ca57269e6cd577f3482cceb2b9205.tar.gz
vdr-06d53423935ca57269e6cd577f3482cceb2b9205.tar.bz2
Fixed transponder handling to make it work with satellites that provide two transponders on the same frequency, with different polarization
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 f3887164..92c02f1f 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.5 2004/01/18 16:32:45 kls Exp $
+ * $Id: nit.c 1.6 2004/02/13 14:41:36 kls Exp $
*/
#include "nit.h"
@@ -106,7 +106,7 @@ void cNitFilter::Process(u_short Pid, u_char Tid, const u_char *Data, int Length
int CodeRate = CodeRates[sd->getFecInner()];
int SymbolRate = BCD2INT(sd->getSymbolRate()) / 10;
if (ThisNIT >= 0) {
- if (ISTRANSPONDER(Frequency, Transponder())) {
+ if (ISTRANSPONDER(cChannel::Transponder(Frequency, Polarization), Transponder())) {
nits[ThisNIT].hasTransponder = true;
//printf("has transponder %d\n", Transponder());
}