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(); writeLockMessaging();
messaging_zap_detected = false; messaging_zap_detected = false;
unlockMessaging(); unlockMessaging();
eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE, if (scanning) {
CEventServer::INITID_SECTIONSD, eventServer->sendEvent(CSectionsdClient::EVT_EIT_COMPLETE,
&current_service, CEventServer::INITID_SECTIONSD,
sizeof(messaging_current_servicekey)); &current_service,
sizeof(messaging_current_servicekey));
}
if(notify_complete) if(notify_complete)
system(CONFIGDIR "/epgdone.sh"); system(CONFIGDIR "/epgdone.sh");
} }