X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ca329d3e86a98aacb0597d8581f5354cc99542e4..2b1a35585e9edead2200e4e4868d549c3b1e8106:/lib/dvb/pvrparse.h diff --git a/lib/dvb/pvrparse.h b/lib/dvb/pvrparse.h index 7b586331..69bb9924 100644 --- a/lib/dvb/pvrparse.h +++ b/lib/dvb/pvrparse.h @@ -19,7 +19,10 @@ public: /* timestampDelta is in fact the difference between */ /* the PTS in the stream and a real PTS from 0..max */ std::map m_timestamp_deltas; - + + /* these are non-fixed up pts value (like m_access_points), just used to accelerate stuff. */ + std::multimap m_pts_to_offset; + int save(const char *filename); int load(const char *filename); @@ -40,6 +43,8 @@ public: off_t getAccessPoint(pts_t ts); + int getNextAccessPoint(pts_t &ts, const pts_t &start, int direction); + bool empty(); };