aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pvrparse.cpp
diff options
context:
space:
mode:
authorthedoc <thedoc@atom.(none)>2009-12-23 11:24:17 +0100
committerthedoc <thedoc@atom.(none)>2009-12-23 11:24:17 +0100
commitbc8b453f3e2a5a142faa23efdb777165b33e788d (patch)
tree12da09e98d3fbbfdee25d133a40015fb7665e789 /lib/dvb/pvrparse.cpp
parent9cfc3300e11cff63d3532d43d95bd17cba5b9cb4 (diff)
parent5808051426cab03a0dc117c73b941b0afb05a87d (diff)
downloadenigma2-bc8b453f3e2a5a142faa23efdb777165b33e788d.tar.gz
enigma2-bc8b453f3e2a5a142faa23efdb777165b33e788d.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/dvb/pvrparse.cpp')
-rw-r--r--lib/dvb/pvrparse.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp
index 1393bf77..5cdecbd6 100644
--- a/lib/dvb/pvrparse.cpp
+++ b/lib/dvb/pvrparse.cpp
@@ -244,6 +244,7 @@ off_t eMPEGStreamInformation::getAccessPoint(pts_t ts, int marg)
off_t last = 0;
off_t last2 = 0;
pts_t lastc = 0;
+ ts += 1; // Add rounding error margin
for (std::map<off_t, pts_t>::const_iterator i(m_access_points.begin()); i != m_access_points.end(); ++i)
{
pts_t delta = getDelta(i->first);