projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add a tuxbox plugins plugin to prepare loading of tuxbox plugins when the c++ part...
[vuplus_dvbapp]
/
lib
/
dvb
/
tstools.cpp
diff --git
a/lib/dvb/tstools.cpp
b/lib/dvb/tstools.cpp
index
81e62dd
..
20eb3ce
100644
(file)
--- a/
lib/dvb/tstools.cpp
+++ b/
lib/dvb/tstools.cpp
@@
-71,8
+71,11
@@
int eDVBTSTools::getPTS(off_t &offset, pts_t &pts)
{
int i = 0;
while (i < 188)
+ {
if (block[i] == 0x47)
break;
+ ++i;
+ }
offset = lseek(m_fd, i - 188, SEEK_CUR);
continue;
}
@@
-120,6
+123,7
@@
void eDVBTSTools::calcBegin()
{
if (m_fd < 0)
return;
+
if (!m_begin_valid)
{
m_offset_begin = 0;