X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb%2Ftstools.h;h=99827921f84fc20e21fc6e1e172bae88f3e9d3a9;hb=86e9360f343238d5b6fc180be0b6076549847bc3;hp=ed8b9241f285c74189a6078cc778621dc8ecc8ae;hpb=4ba60a7e801150afc2e18f1250febe5e49a46d7a;p=vuplus_dvbapp 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;