From b486a511eeefdab94929aa5629ef9a3013378051 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Wed, 13 Jan 2016 21:43:47 +0100 Subject: [PATCH] Revert "scanepg: only react to the correct EVT_EIT_COMPLETE" This reverts commit 55be585994367141a6e089f209e2fca67289bf61. reacting to all COMPLETE events is actually correct, because it restarts background scanning after scanning of current live transponder is finished --- src/driver/scanepg.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/driver/scanepg.cpp b/src/driver/scanepg.cpp index efd61a213..3cd7e0280 100644 --- a/src/driver/scanepg.cpp +++ b/src/driver/scanepg.cpp @@ -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());