X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c617034514475f360e3415502f2d96f8623ecb07..e5a909e610fcd24a0bb6d7b1a586a14cd9767512:/lib/dvb/idemux.h?ds=sidebyside diff --git a/lib/dvb/idemux.h b/lib/dvb/idemux.h index 9267d005..b04ad000 100644 --- a/lib/dvb/idemux.h +++ b/lib/dvb/idemux.h @@ -21,7 +21,7 @@ struct eDVBSectionFilterMask struct eDVBTableSpec { - int pid, tid, tidext; + int pid, tid, tidext, tid_mask, tidext_mask; int version; int timeout; /* timeout in ms */ enum @@ -38,6 +38,8 @@ struct eDVBTableSpec tfHaveTIDExt=16, tfCheckCRC=32, tfHaveTimeout=64, + tfHaveTIDMask=128, + tfHaveTIDExtMask=256 }; int flags; }; @@ -51,6 +53,15 @@ public: virtual ~iDVBSectionReader() { }; }; +class iDVBPESReader: public iObject +{ +public: + virtual RESULT start(int pid)=0; + virtual RESULT stop()=0; + virtual RESULT connectRead(const Slot2 &read, ePtr &conn)=0; + virtual ~iDVBPESReader() { }; +}; + /* records a given set of pids into a file descriptor. */ /* the FD must not be modified between start() and stop() ! */ class iDVBTSRecorder: public iObject @@ -60,10 +71,11 @@ public: virtual RESULT addPID(int pid) = 0; virtual RESULT removePID(int pid) = 0; - /* include timestamps? ... */ - virtual RESULT setFormat(int pid) = 0; + virtual RESULT setTimingPID(int pid) = 0; virtual RESULT setTargetFD(int fd) = 0; + /* for saving additional meta data. */ + virtual RESULT setTargetFilename(const char *filename) = 0; virtual RESULT setBoundary(off_t max) = 0; virtual RESULT stop() = 0;