mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-18 02:43:37 +02:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user