zapit/src/scansdt.cpp: add missed channel flags - they should not be 0

This commit is contained in:
[CST] Focus
2013-01-28 13:58:45 +04:00
parent 776377089c
commit ea8c9c2356

View File

@@ -327,6 +327,7 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto
real_type, satellitePosition, freq_id);
CServiceManager::getInstance()->AddChannel(channel);
channel->deltype = cable ? FE_QAM : FE_QPSK;
channel->flags = CZapitChannel::UPDATED;
/* mark channel as new, if this satellite already have channels */
if (CServiceScan::getInstance()->SatHaveChannels())
channel->flags = CZapitChannel::NEW;