add getNextAccessPoint
[enigma2.git] / lib / dvb / tstools.cpp
index e440aecad5753b601cd75dbaf6871d424667bb5c..b6792c65c48c9e243a370d5bcc019f435b6559b2 100644 (file)
@@ -191,6 +191,17 @@ int eDVBTSTools::getOffset(off_t &offset, pts_t &pts)
        }
 }
 
        }
 }
 
+int eDVBTSTools::getNextAccessPoint(pts_t &ts, const pts_t &start, int direction)
+{
+       if (m_use_streaminfo)
+               return m_streaminfo.getNextAccessPoint(ts, start, direction);
+       else
+       {
+               eDebug("can't get next access point without streaminfo");
+               return -1;
+       }
+}
+
 void eDVBTSTools::calcBegin()
 {
        if (m_fd < 0)   
 void eDVBTSTools::calcBegin()
 {
        if (m_fd < 0)