aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pvrparse.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-27 03:06:55 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-27 03:06:55 +0000
commitaa3fdc5321e50af5b79085a0942e9b5cf2d82e30 (patch)
tree5e2f3927f49601856ce55c4ea6386dbd969b93c6 /lib/dvb/pvrparse.cpp
parentaee1fdd37eadd70de2af1b299af87e238b4ac388 (diff)
downloadenigma2-aa3fdc5321e50af5b79085a0942e9b5cf2d82e30.tar.gz
enigma2-aa3fdc5321e50af5b79085a0942e9b5cf2d82e30.zip
add getOffset and fix pvrparse for that
Diffstat (limited to 'lib/dvb/pvrparse.cpp')
-rw-r--r--lib/dvb/pvrparse.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp
index 58b215ba..bde43765 100644
--- a/lib/dvb/pvrparse.cpp
+++ b/lib/dvb/pvrparse.cpp
@@ -208,9 +208,7 @@ off_t eMPEGStreamInformation::getAccessPoint(pts_t ts)
off_t last = 0;
for (std::map<off_t, pts_t>::const_iterator i(m_access_points.begin()); i != m_access_points.end(); ++i)
{
- std::map<off_t, pts_t>::const_iterator d = m_timestamp_deltas.find(i->first);
- if (d != m_timestamp_deltas.end())
- delta = d->second;
+ pts_t delta = getDelta(i->first);
pts_t c = i->second - delta;
if (c > ts)
break;