mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 09:21:18 +02:00
zapit/src/scannit.cpp: fix exchanged tsid/onid in CREATE_TRANSPONDER_ID64
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include <math.h>
|
||||
#include <eitd/edvbstring.h>
|
||||
|
||||
#define DEBUG_NIT
|
||||
//#define DEBUG_NIT
|
||||
#define DEBUG_NIT_UNUSED
|
||||
#define DEBUG_LCN
|
||||
|
||||
@@ -310,7 +310,7 @@ bool CNit::ParseSatelliteDescriptor(SatelliteDeliverySystemDescriptor * sd, Tran
|
||||
|
||||
freq_id_t freq = CREATE_FREQ_ID(feparams.frequency, false);
|
||||
transponder_id_t TsidOnid = CREATE_TRANSPONDER_ID64(
|
||||
freq, satellitePosition, tsinfo->getTransportStreamId(), tsinfo->getOriginalNetworkId());
|
||||
freq, satellitePosition, tsinfo->getOriginalNetworkId(), tsinfo->getTransportStreamId());
|
||||
|
||||
CServiceScan::getInstance()->AddTransponder(TsidOnid, &feparams, polarization, true);
|
||||
|
||||
@@ -335,7 +335,7 @@ bool CNit::ParseCableDescriptor(CableDeliverySystemDescriptor * sd, TransportStr
|
||||
|
||||
freq_id_t freq = CREATE_FREQ_ID(feparams.frequency, true);
|
||||
transponder_id_t TsidOnid = CREATE_TRANSPONDER_ID64(
|
||||
freq, satellitePosition, tsinfo->getTransportStreamId(), tsinfo->getOriginalNetworkId());
|
||||
freq, satellitePosition, tsinfo->getOriginalNetworkId(), tsinfo->getTransportStreamId());
|
||||
|
||||
CServiceScan::getInstance()->AddTransponder(TsidOnid, &feparams, 0, true);
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user