diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-09 23:29:55 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-11-09 23:29:55 +0100 |
| commit | 2a0689a69ba995ec3adcf1cd6cc20146a6d4ef58 (patch) | |
| tree | 0abec77b9c4a4aceb1b6937cfc56852aa70bfb05 /lib/dvb/tstools.h | |
| parent | 593d7ac3a2a3c916eda486352bbcc25c4aede678 (diff) | |
| download | enigma2-2a0689a69ba995ec3adcf1cd6cc20146a6d4ef58.tar.gz enigma2-2a0689a69ba995ec3adcf1cd6cc20146a6d4ef58.zip | |
tstools.h/cpp: migrate to iDataSource
Diffstat (limited to 'lib/dvb/tstools.h')
| -rw-r--r-- | lib/dvb/tstools.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h index ed8b9241..41312c4c 100644 --- a/lib/dvb/tstools.h +++ b/lib/dvb/tstools.h @@ -19,9 +19,12 @@ public: eDVBTSTools(); ~eDVBTSTools(); + void setSource(ePtr<iDataSource> source, const char *streaminfo_filename=NULL); + void closeSource(); + int openFile(const char *filename, int nostreaminfo = 0); void closeFile(); - + void setSyncPID(int pid); void setSearchRange(int maxrange); @@ -77,8 +80,7 @@ private: int m_pid; int m_maxrange; - eSingleLock m_file_lock; - eRawFile m_file; + ePtr<iDataSource> m_source; int m_begin_valid, m_end_valid; pts_t m_pts_begin, m_pts_end; |
