X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f94e2c9821eb8784ca03b7122485d4720ec6d6e6..09a48d79a8ee17f0abe10d40aa33f3133b6b9170:/lib/dvb/eit.cpp?ds=sidebyside diff --git a/lib/dvb/eit.cpp b/lib/dvb/eit.cpp index cc2c29b2..fa776b94 100644 --- a/lib/dvb/eit.cpp +++ b/lib/dvb/eit.cpp @@ -32,6 +32,15 @@ void eDVBServiceEITHandler::EITready(int error) m_eit_changed(); } +void eDVBServiceEITHandler::inject(ePtr &event, int nownext) +{ + if (nownext) + m_event_next = event; + else + m_event_now = event; + m_eit_changed(); +} + eDVBServiceEITHandler::eDVBServiceEITHandler() { CONNECT(m_EIT.tableReady, eDVBServiceEITHandler::EITready); @@ -42,6 +51,11 @@ void eDVBServiceEITHandler::start(iDVBDemux *demux, int sid) m_EIT.begin(eApp, eDVBEITSpec(sid), demux); } +void eDVBServiceEITHandler::startOther(iDVBDemux *demux, int sid) +{ + m_EIT.begin(eApp, eDVBEITSpecOther(sid), demux); +} + RESULT eDVBServiceEITHandler::getEvent(ePtr &event, int nownext) { event = nownext ? m_event_next : m_event_now;