From 2e5c5e85435f2358d2e1231e5d4d7d908a5b2b3b Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Wed, 16 Jan 2013 15:52:54 +0400 Subject: [PATCH] zapit/src/scansdt.cpp: set channel deltype Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f8eb8b5297c5022b50803dcf427cee66af957414 Author: [CST] Focus Date: 2013-01-16 (Wed, 16 Jan 2013) --- src/zapit/src/scansdt.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/zapit/src/scansdt.cpp b/src/zapit/src/scansdt.cpp index 1d1b5b538..27d73f293 100644 --- a/src/zapit/src/scansdt.cpp +++ b/src/zapit/src/scansdt.cpp @@ -49,6 +49,7 @@ CSdt::CSdt(t_satellite_position spos, freq_id_t frq, bool curr, int dnum) current = curr; transport_stream_id = 0; original_network_id = 0; + //FIXME sdt update ?? 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, real_type, satellitePosition, freq_id); + channel->deltype = cable ? FE_QAM : FE_QPSK; CServiceManager::getInstance()->AddCurrentChannel(channel); @@ -324,6 +326,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto } else { channel = new CZapitChannel(serviceName, channel_id, real_type, satellitePosition, freq_id); + channel->deltype = cable ? FE_QAM : FE_QPSK; CServiceManager::getInstance()->AddChannel(channel); /* mark channel as new, if this satellite already have channels */