mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
scan: test using new sdt class
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7e0aa58b2
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-01-18 (Wed, 18 Jan 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include <zapit/satconfig.h>
|
||||
#include <zapit/zapit.h>
|
||||
#include <xmlinterface.h>
|
||||
#include <zapit/scansdt.h>
|
||||
|
||||
#define NIT_THREAD
|
||||
|
||||
@@ -272,12 +273,15 @@ _repeat:
|
||||
}
|
||||
#endif
|
||||
//INFO("parsing SDT (tsid:onid %04x:%04x)", tI->second.transport_stream_id, tI->second.original_network_id);
|
||||
#if 0
|
||||
int status = parse_sdt(&tI->second.transport_stream_id, &tI->second.original_network_id, satellitePosition, freq /*tI->second.feparams.frequency/1000*/);
|
||||
if(status < 0) {
|
||||
printf("[scan] SDT failed !\n");
|
||||
continue;
|
||||
}
|
||||
|
||||
#endif
|
||||
CSdt sdt(satellitePosition, freq);
|
||||
sdt.Parse(&tI->second.transport_stream_id, &tI->second.original_network_id);
|
||||
TsidOnid = CREATE_TRANSPONDER_ID_FROM_SATELLITEPOSITION_ORIGINALNETWORK_TRANSPORTSTREAM_ID(
|
||||
freq /*tI->second.feparams.frequency/1000*/, satellitePosition, tI->second.original_network_id,
|
||||
tI->second.transport_stream_id);
|
||||
|
Reference in New Issue
Block a user