X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fdvb%2Fpvrparse.cpp;h=5cdecbd610095ec2172b811454f0b71ec1013ed6;hb=39f3d5a554528bcbdc79cc0f2bdd2d59c92b0a4e;hp=1393bf77847a6ec384bba54b0bf31cd4fc8cd25a;hpb=dce87891f204f8e1f7151c4a3ba00b9dd048e795;p=vuplus_dvbapp diff --git a/lib/dvb/pvrparse.cpp b/lib/dvb/pvrparse.cpp index 1393bf7..5cdecbd 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::const_iterator i(m_access_points.begin()); i != m_access_points.end(); ++i) { pts_t delta = getDelta(i->first);