zapit/src/scansdt.cpp: set existing channel's flags to UPDATED

Origin commit data
------------------
Branch: ni/coolstream
Commit: c8414974fa
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-28 (Mon, 28 Jan 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-01-28 11:56:54 +04:00
parent 8beeef6f16
commit 8ba769b80d

View File

@@ -321,14 +321,12 @@ bool CSdt::ParseServiceDescriptor(ServiceDescription * service, ServiceDescripto
if (channel) {
channel->setName(serviceName);
channel->setServiceType(real_type);
channel->flags &= ~CZapitChannel::REMOVED;
channel->flags |= CZapitChannel::UPDATED;
channel->flags = CZapitChannel::UPDATED;
} else {
channel = new CZapitChannel(serviceName, channel_id,
real_type, satellitePosition, freq_id);
channel->deltype = cable ? FE_QAM : FE_QPSK;
CServiceManager::getInstance()->AddChannel(channel);
channel->deltype = cable ? FE_QAM : FE_QPSK;
/* mark channel as new, if this satellite already have channels */
if (CServiceScan::getInstance()->SatHaveChannels())
channel->flags = CZapitChannel::NEW;