aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/pvrparse.cpp
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-12-22 16:02:20 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-12-22 16:02:20 +0100
commitf901175ad6e72c60f0916c6ba6edcbdad7dbf5ec (patch)
tree7fa7116ae62f8cabdded0943aedbdc11488060cf /lib/dvb/pvrparse.cpp
parent6987607629f68a8c47cbe9cf48f6a112b83468ec (diff)
parentbbe28d433549d0559ac2f91ca2903d5bc6b60bf4 (diff)
downloadenigma2-f901175ad6e72c60f0916c6ba6edcbdad7dbf5ec.tar.gz
enigma2-f901175ad6e72c60f0916c6ba6edcbdad7dbf5ec.zip
Merge branch 'bug_245_record_playback_fixes'
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);