Revert "scanepg: only react to the correct EVT_EIT_COMPLETE"

This reverts commit 084df58021.

reacting to all COMPLETE events is actually correct, because
it restarts background scanning after scanning of current live
transponder is finished


Origin commit data
------------------
Branch: ni/coolstream
Commit: b486a511ee
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-13 (Wed, 13 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2016-01-13 21:43:47 +01:00
parent c1c64d86b2
commit 137775e41d

View File

@@ -281,13 +281,8 @@ int CEpgScan::handleMsg(const neutrino_msg_t msg, neutrino_msg_data_t data)
return messages_return::handled;
}
else if (msg == NeutrinoMessages::EVT_EIT_COMPLETE) {
t_channel_id chid = *(t_channel_id *)data;
if (chid != next_chid) {
/* live channel can send EVT_EIT_COMPLETE, even if no EPG scan is running */
INFO("EIT read complete [" PRINTF_CHANNEL_ID_TYPE "]!=[" PRINTF_CHANNEL_ID_TYPE "], ignoring", chid, next_chid);
return messages_return::handled;
}
scan_in_progress = false;
t_channel_id chid = *(t_channel_id *)data;
newchan = CServiceManager::getInstance()->FindChannel(chid);
if (newchan) {
scanned.insert(newchan->getTransponderId());