add "TEXT" key for subtitles in MediaPlayer
[enigma2.git] / lib / dvb / pvrparse.h
index 7b5863314f1e80d464e39caa3e4c7ed82e837c5c..69bb992401ac38aa0603585962e09f19edf91304 100644 (file)
@@ -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<off_t, pts_t> m_timestamp_deltas;
-       
+
+               /* these are non-fixed up pts value (like m_access_points), just used to accelerate stuff. */
+       std::multimap<pts_t, off_t> 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();
 };