diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-08-16 01:02:55 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-08-16 01:02:55 +0000 |
| commit | fe813cde98c0c550137b47dd7a75ec2d4d9e6f34 (patch) | |
| tree | 6aac164b9b49a35bb2c3eff0e61a305118fcab42 /lib/dvb/tstools.cpp | |
| parent | 4fcbd4dd4bee8c65b46b7185879c445beae6ca29 (diff) | |
| download | enigma2-fe813cde98c0c550137b47dd7a75ec2d4d9e6f34.tar.gz enigma2-fe813cde98c0c550137b47dd7a75ec2d4d9e6f34.zip | |
- add getLength() call to iStaticServiceInformation
- implementation for dvb pvr streams using tstools
- start of implementing status information for PVR
Diffstat (limited to 'lib/dvb/tstools.cpp')
| -rw-r--r-- | lib/dvb/tstools.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp index 5d1c7e35..8e74b4c7 100644 --- a/lib/dvb/tstools.cpp +++ b/lib/dvb/tstools.cpp @@ -48,8 +48,6 @@ int eDVBTSTools::getPTS(off_t &offset, pts_t &pts) { if (m_fd < 0) return -1; - if (m_pid < 0) - return -1; offset -= offset % 188; @@ -82,8 +80,9 @@ int eDVBTSTools::getPTS(off_t &offset, pts_t &pts) // printf("PID %04x, PUSI %d\n", pid, pusi); - if (pid != m_pid) - continue; + if (m_pid >= 0) + if (pid != m_pid) + continue; if (!pusi) continue; |
