Merge branch 'master' of fraxinas@git.opendreambox.org:/git/enigma2
[enigma2.git] / lib / dvb / eit.cpp
index cc2c29b2a2fe3bf2ac85a19a26eaa27548f24cce..fa776b94984c15bc20139b1fef4d96db3aeb785c 100644 (file)
@@ -32,6 +32,15 @@ void eDVBServiceEITHandler::EITready(int error)
        m_eit_changed();
 }
 
+void eDVBServiceEITHandler::inject(ePtr<eServiceEvent> &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<eServiceEvent> &event, int nownext)
 {
        event = nownext ? m_event_next : m_event_now;