diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-28 01:43:36 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-28 01:43:36 +0000 |
| commit | 2c0fdda82ac02f8436816236b4649819274d1c95 (patch) | |
| tree | 9933d259ae0a993e82c06936a20fea6c96a9b96c /lib/dvb/tstools.cpp | |
| parent | 7f5aa3b85debad0a5642cc5c57cc5b967093ff3e (diff) | |
| download | enigma2-2c0fdda82ac02f8436816236b4649819274d1c95.tar.gz enigma2-2c0fdda82ac02f8436816236b4649819274d1c95.zip | |
add getNextAccessPoint
Diffstat (limited to 'lib/dvb/tstools.cpp')
| -rw-r--r-- | lib/dvb/tstools.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp index e440aeca..b6792c65 100644 --- a/lib/dvb/tstools.cpp +++ b/lib/dvb/tstools.cpp @@ -191,6 +191,17 @@ int eDVBTSTools::getOffset(off_t &offset, pts_t &pts) } } +int eDVBTSTools::getNextAccessPoint(pts_t &ts, const pts_t &start, int direction) +{ + if (m_use_streaminfo) + return m_streaminfo.getNextAccessPoint(ts, start, direction); + else + { + eDebug("can't get next access point without streaminfo"); + return -1; + } +} + void eDVBTSTools::calcBegin() { if (m_fd < 0) |
