zapit/src/scansdt.cpp: remove udpated channel flag before scan

This commit is contained in:
[CST] Focus
2014-10-09 11:28:44 +04:00
parent 74f79c2855
commit 563310601a

View File

@@ -171,8 +171,10 @@ bool CSdt::Parse(t_transport_stream_id &tsid, t_original_network_id &onid)
freq_id, satellitePosition, original_network_id, transport_stream_id);
ZapitChannelList satChannelList;
CServiceManager::getInstance()->GetAllTransponderChannels(satChannelList, tpid);
for (zapit_list_it_t oldI = satChannelList.begin(); oldI != satChannelList.end(); ++oldI)
for (zapit_list_it_t oldI = satChannelList.begin(); oldI != satChannelList.end(); ++oldI) {
(*oldI)->flags &= ~CZapitChannel::UPDATED;
(*oldI)->flags |= CZapitChannel::REMOVED;
}
}
#ifdef DEBUG_SDT