mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
zapit/src/scansdt.cpp: set channel deltype
Origin commit data
------------------
Commit: f8eb8b5297
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-16 (Wed, 16 Jan 2013)
This commit is contained in:
@@ -49,6 +49,7 @@ CSdt::CSdt(t_satellite_position spos, freq_id_t frq, bool curr, int dnum)
|
|||||||
current = curr;
|
current = curr;
|
||||||
transport_stream_id = 0;
|
transport_stream_id = 0;
|
||||||
original_network_id = 0;
|
original_network_id = 0;
|
||||||
|
//FIXME sdt update ??
|
||||||
cable = (CServiceScan::getInstance()->GetFrontend()->getInfo()->type == FE_QAM);
|
cable = (CServiceScan::getInstance()->GetFrontend()->getInfo()->type == FE_QAM);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -277,6 +278,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto
|
|||||||
|
|
||||||
CZapitChannel * channel = new CZapitChannel(serviceName, channel_id,
|
CZapitChannel * channel = new CZapitChannel(serviceName, channel_id,
|
||||||
real_type, satellitePosition, freq_id);
|
real_type, satellitePosition, freq_id);
|
||||||
|
channel->deltype = cable ? FE_QAM : FE_QPSK;
|
||||||
|
|
||||||
CServiceManager::getInstance()->AddCurrentChannel(channel);
|
CServiceManager::getInstance()->AddCurrentChannel(channel);
|
||||||
|
|
||||||
@@ -324,6 +326,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto
|
|||||||
} else {
|
} else {
|
||||||
channel = new CZapitChannel(serviceName, channel_id,
|
channel = new CZapitChannel(serviceName, channel_id,
|
||||||
real_type, satellitePosition, freq_id);
|
real_type, satellitePosition, freq_id);
|
||||||
|
channel->deltype = cable ? FE_QAM : FE_QPSK;
|
||||||
|
|
||||||
CServiceManager::getInstance()->AddChannel(channel);
|
CServiceManager::getInstance()->AddChannel(channel);
|
||||||
/* mark channel as new, if this satellite already have channels */
|
/* mark channel as new, if this satellite already have channels */
|
||||||
|
Reference in New Issue
Block a user