aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb/tstools.h
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-11-23 13:58:30 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-11-23 13:58:30 +0100
commit7b2960a205f3c3e3b421d1664cd38644b3ffb679 (patch)
treed57819fb0ff1eb5e64638bc584c54ae18816043f /lib/dvb/tstools.h
parentfc83dfbe60f36712953498b20a1c2f10737e7685 (diff)
parent7199d3c37e7e7065bd6943702b5864fa5186b9a8 (diff)
downloadenigma2-7b2960a205f3c3e3b421d1664cd38644b3ffb679.tar.gz
enigma2-7b2960a205f3c3e3b421d1664cd38644b3ffb679.zip
Merge branch 'bug_615_replace_rawfile'
Diffstat (limited to 'lib/dvb/tstools.h')
-rw-r--r--lib/dvb/tstools.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h
index ed8b9241..1192cd2d 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;