X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Ftstools.h;h=99827921f84fc20e21fc6e1e172bae88f3e9d3a9;hp=ed8b9241f285c74189a6078cc778621dc8ecc8ae;hb=a600a785717d30f1f9729592e6e8d9d5b3b9bb38;hpb=2fa166a61a60aed8248b74a838a2d077720156e9 diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h index ed8b924..9982792 100644 --- a/lib/dvb/tstools.h +++ b/lib/dvb/tstools.h @@ -19,9 +19,12 @@ public: eDVBTSTools(); ~eDVBTSTools(); + void setSource(ePtr &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 m_source; int m_begin_valid, m_end_valid; pts_t m_pts_begin, m_pts_end;