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:
e38fa97
)
clamp jumps at SOF
author
Felix Domke
<tmbinc@elitedvb.net>
Sun, 5 Mar 2006 21:51:07 +0000
(21:51 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Sun, 5 Mar 2006 21:51:07 +0000
(21:51 +0000)
lib/dvb/dvb.cpp
patch
|
blob
|
history
diff --git
a/lib/dvb/dvb.cpp
b/lib/dvb/dvb.cpp
index ad5dfa641ea9d4fa35658e186be3842cd62bee34..86b1965e31b4bf802cc176281566541f8c9331fb 100644
(file)
--- a/
lib/dvb/dvb.cpp
+++ b/
lib/dvb/dvb.cpp
@@
-788,7
+788,11
@@
void eDVBChannel::getNextSourceSpan(off_t current_offset, size_t bytes_read, off
}
if (relative == 1) /* pts relative */
}
if (relative == 1) /* pts relative */
+ {
pts += now;
pts += now;
+ if (pts < 0)
+ pts = 0;
+ }
if (relative != 2)
if (pts < 0)
if (relative != 2)
if (pts < 0)