aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pvrparse.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2008-03-25 17:24:50 +0000
committerFelix Domke <tmbinc@elitedvb.net>2008-03-25 17:24:50 +0000
commit01dfc57fc043ec0d404068d5abf325c2a59ff027 (patch)
tree280c59857777dacffc04c8ac2d4517cea8ba8209 /lib/dvb/pvrparse.h
parent3bc44367624845557581d560c4700c4f62080b8f (diff)
downloadenigma2-01dfc57fc043ec0d404068d5abf325c2a59ff027.tar.gz
enigma2-01dfc57fc043ec0d404068d5abf325c2a59ff027.zip
optimize pvr parser a bit, don't load more than 2 APs per second to speed up things a bit
Diffstat (limited to 'lib/dvb/pvrparse.h')
-rw-r--r--lib/dvb/pvrparse.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/dvb/pvrparse.h b/lib/dvb/pvrparse.h
index 9a0c3eb0..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<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);