eitd/sectionsd.cpp: do not send EVT_EIT_COMPLETE, if scanning paused

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0a831b87a0
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-10 (Thu, 10 Oct 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2013-10-10 18:50:16 +04:00
parent cc448d2019
commit b0c9fba66a

View File

@@ -1701,10 +1701,12 @@ void CEitThread::beforeSleep()
writeLockMessaging();
messaging_zap_detected = false;
unlockMessaging();
eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE,
CEventServer::INITID_SECTIONSD,
&current_service,
sizeof(messaging_current_servicekey));
if (scanning) {
eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE,
CEventServer::INITID_SECTIONSD,
&current_service,
sizeof(messaging_current_servicekey));
}
if(notify_complete)
system(CONFIGDIR "/epgdone.sh");
}