X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fdvb%2Ftstools.h;h=1192cd2d0355b3ba75eb1eb069480688e836af45;hp=ed8b9241f285c74189a6078cc778621dc8ecc8ae;hb=6a243eb89df7c0afd159a0820c897a8b5fcd8211;hpb=329aa135a18a61d853d75e78e451cba66796cbd1 diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h index ed8b924..1192cd2 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;