diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-03-15 00:43:26 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-03-15 00:43:26 +0000 |
| commit | dd59dbf670d3da8b6d566b724c8a718374d5ca89 (patch) | |
| tree | 33ab8719d69bba4c4e82b1e0c64841683e6fd7a9 /lib/dvb/tstools.h | |
| parent | 528136d57ab648e72080318bcb15f00bdc079fdd (diff) | |
| download | enigma2-dd59dbf670d3da8b6d566b724c8a718374d5ca89.tar.gz enigma2-dd59dbf670d3da8b6d566b724c8a718374d5ca89.zip | |
improve seek accuracy
Diffstat (limited to 'lib/dvb/tstools.h')
| -rw-r--r-- | lib/dvb/tstools.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h index 71e00df9..f5df8c48 100644 --- a/lib/dvb/tstools.h +++ b/lib/dvb/tstools.h @@ -18,7 +18,7 @@ public: eDVBTSTools(); ~eDVBTSTools(); - int openFile(const char *filename); + int openFile(const char *filename, int nostreaminfo = 0); void closeFile(); void setSyncPID(int pid); @@ -52,6 +52,7 @@ public: int calcBitrate(); /* in bits/sec */ void takeSamples(); + int eDVBTSTools::takeSample(off_t off, pts_t &p); int findPMT(int &pmt_pid, int &service_id); private: |
