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

This commit is contained in:
[CST] Focus
2013-10-10 18:50:16 +04:00
parent 7c20ba490b
commit 0a831b87a0

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");
} }