git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1fa65ce
)
use m_pts_to_offset
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 25 Mar 2008 23:57:56 +0000
(23:57 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 25 Mar 2008 23:57:56 +0000
(23:57 +0000)
lib/dvb/pvrparse.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/pvrparse.cpp
b/lib/dvb/pvrparse.cpp
index d6978301447dde39d1f1ab2516421fb42f88ce5b..a6be5c3e597e6751bc1f3b183f42f058b9c91c07 100644
(file)
--- a/
lib/dvb/pvrparse.cpp
+++ b/
lib/dvb/pvrparse.cpp
@@
-146,7
+146,7
@@
int eMPEGStreamInformation::fixupPTS(const off_t &offset, pts_t &ts)
std::multimap<pts_t, off_t>::const_iterator
l = m_pts_to_offset.upper_bound(ts - 60 * 90000),
u = m_pts_to_offset.upper_bound(ts + 60 * 90000),
- nearest = m_
access_points
.end();
+ nearest = m_
pts_to_offset
.end();
while (l != u)
{
@@
-154,7
+154,7
@@
int eMPEGStreamInformation::fixupPTS(const off_t &offset, pts_t &ts)
nearest = l;
++l;
}
- if (nearest == m_
access_points
.end())
+ if (nearest == m_
pts_to_offset
.end())
return 1;
ts -= getDelta(nearest->second);