X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/8b0a581bf9ec96b6b698fa2d236d2aadc417f9da..812d186e4b283c9653682a3d4db5234e91e4f36a:/lib/dvb/dvbtime.cpp diff --git a/lib/dvb/dvbtime.cpp b/lib/dvb/dvbtime.cpp index 795b5242..bc9d3b7e 100644 --- a/lib/dvb/dvbtime.cpp +++ b/lib/dvb/dvbtime.cpp @@ -68,7 +68,7 @@ TDT::TDT(eDVBChannel *chan) CONNECT(tableReady, TDT::ready); CONNECT(m_interval_timer.timeout, TDT::start); if (chan) - chan->getDemux(demux); + chan->getDemux(demux, 0); } void TDT::ready(int error) @@ -97,10 +97,10 @@ void TDT::start() if ( chan ) { eDVBTableSpec spec; - spec.pid = TimeAndDateTable::PID; - spec.tid = TimeAndDateTable::TID; + spec.pid = TimeAndDateSection::PID; + spec.tid = TimeAndDateSection::TID; spec.tid_mask = 0xFC; - spec.timeout = TimeAndDateTable::TIMEOUT; + spec.timeout = TimeAndDateSection::TIMEOUT; spec.flags= eDVBTableSpec::tfAnyVersion | eDVBTableSpec::tfHaveTID | eDVBTableSpec::tfHaveTIDMask | @@ -212,7 +212,7 @@ void eDVBLocalTimeHandler::updateTime( time_t tp_time, eDVBChannel *chan ) settimeofday(&tnow,0); for (ePtrList::iterator it(eMainloop::existing_loops) ;it != eMainloop::existing_loops.end(); ++it) - it->setTimerOffset(m_time_difference); + it->addTimeOffset(m_time_difference); m_time_difference=0; } else if ( !m_time_difference ) @@ -333,7 +333,7 @@ void eDVBLocalTimeHandler::updateTime( time_t tp_time, eDVBChannel *chan ) settimeofday(&tnow,0); for (ePtrList::iterator it(eMainloop::existing_loops) ;it != eMainloop::existing_loops.end(); ++it) - it->setTimerOffset(m_time_difference); + it->addTimeOffset(m_time_difference); m_time_difference=0; }