From b0c9fba66ae97f35d313764d13009420814cfb44 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 10 Oct 2013 18:50:16 +0400 Subject: [PATCH] eitd/sectionsd.cpp: do not send EVT_EIT_COMPLETE, if scanning paused Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/0a831b87a075219bb643b0bf6a4db05caff9e529 Author: [CST] Focus Date: 2013-10-10 (Thu, 10 Oct 2013) ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/eitd/sectionsd.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/eitd/sectionsd.cpp b/src/eitd/sectionsd.cpp index 5515c0c0b..964974068 100644 --- a/src/eitd/sectionsd.cpp +++ b/src/eitd/sectionsd.cpp @@ -1701,10 +1701,12 @@ void CEitThread::beforeSleep() writeLockMessaging(); messaging_zap_detected = false; unlockMessaging(); - eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE, - CEventServer::INITID_SECTIONSD, - ¤t_service, - sizeof(messaging_current_servicekey)); + if (scanning) { + eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE, + CEventServer::INITID_SECTIONSD, + ¤t_service, + sizeof(messaging_current_servicekey)); + } if(notify_complete) system(CONFIGDIR "/epgdone.sh"); }