X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/af6a8a3a102ff0230fcc6d90ad213e2e7d706fa8..89d110df542204a384916db773acd2d19cb0542a:/lib/dvb/dvb.cpp diff --git a/lib/dvb/dvb.cpp b/lib/dvb/dvb.cpp index ad5dfa64..86b1965e 100644 --- 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 */ + { pts += now; + if (pts < 0) + pts = 0; + } if (relative != 2) if (pts < 0)