X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=lib%2Fdvb%2Ftstools.h;h=1316825390391782b63b072e10a5deacfcb349a5;hb=e5107b2bd4b6167a39e4574769a0d992082296d5;hp=71e00df968242573c5aa48efe44a03a64c1cadb4;hpb=fe5b6c2f255b91bfe2fb512576082afb9d0fd84a;p=vuplus_dvbapp diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h index 71e00df..1316825 100644 --- a/lib/dvb/tstools.h +++ b/lib/dvb/tstools.h @@ -18,7 +18,7 @@ public: eDVBTSTools(); ~eDVBTSTools(); - int openFile(const char *filename); + int openFile(const char *filename, int nostreaminfo = 0); void closeFile(); void setSyncPID(int pid); @@ -52,6 +52,7 @@ public: int calcBitrate(); /* in bits/sec */ void takeSamples(); + int takeSample(off_t off, pts_t &p); int findPMT(int &pmt_pid, int &service_id); private: