Revert "Revert "rcinput/neutrino: avoid the use of EVT_TIMESET""

This reverts commit bfdb68d9ca.


Origin commit data
------------------
Branch: ni/coolstream
Commit: c8b0ae4103
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2016-01-24 (Sun, 24 Jan 2016)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2016-01-24 12:21:25 +01:00
parent 0b8fa55400
commit dedd988b69
2 changed files with 27 additions and 6 deletions

View File

@@ -5,7 +5,7 @@
and some other guys
Homepage: http://dbox.cyberphoria.org/
Copyright (C) 2006-2014 Stefan Seyfried
Copyright (C) 2006-2016 Stefan Seyfried
Copyright (C) 2011 CoolStream International Ltd
@@ -1840,7 +1840,11 @@ void CNeutrinoApp::InitZapitClient()
void CNeutrinoApp::InitSectiondClient()
{
g_Sectionsd = new CSectionsdClient;
g_Sectionsd->registerEvent(CSectionsdClient::EVT_TIMESET, 222, NEUTRINO_UDS_NAME);
struct timespec t;
if (clock_gettime(CLOCK_MONOTONIC, &t)) {
dprintf(DEBUG_NORMAL, "CLOCK_MONOTONIC not supported? (%m), falling back to EVT_TIMESET\n");
g_Sectionsd->registerEvent(CSectionsdClient::EVT_TIMESET, 222, NEUTRINO_UDS_NAME);
}
g_Sectionsd->registerEvent(CSectionsdClient::EVT_GOT_CN_EPG, 222, NEUTRINO_UDS_NAME);
g_Sectionsd->registerEvent(CSectionsdClient::EVT_EIT_COMPLETE, 222, NEUTRINO_UDS_NAME);
g_Sectionsd->registerEvent(CSectionsdClient::EVT_WRITE_SI_FINISHED, 222, NEUTRINO_UDS_NAME);