git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
finally fix satfinder with new config
[enigma2.git]
/
lib
/
dvb
/
idemux.h
diff --git
a/lib/dvb/idemux.h
b/lib/dvb/idemux.h
index 9267d0053f3a1e03312806949d7526d60ede7351..b04ad000322db1938d90cd8da765ecabda53d616 100644
(file)
--- a/
lib/dvb/idemux.h
+++ b/
lib/dvb/idemux.h
@@
-21,7
+21,7
@@
struct eDVBSectionFilterMask
struct eDVBTableSpec
{
struct eDVBTableSpec
{
- int pid, tid, tidext;
+ int pid, tid, tidext
, tid_mask, tidext_mask
;
int version;
int timeout; /* timeout in ms */
enum
int version;
int timeout; /* timeout in ms */
enum
@@
-38,6
+38,8
@@
struct eDVBTableSpec
tfHaveTIDExt=16,
tfCheckCRC=32,
tfHaveTimeout=64,
tfHaveTIDExt=16,
tfCheckCRC=32,
tfHaveTimeout=64,
+ tfHaveTIDMask=128,
+ tfHaveTIDExtMask=256
};
int flags;
};
};
int flags;
};
@@
-51,6
+53,15
@@
public:
virtual ~iDVBSectionReader() { };
};
virtual ~iDVBSectionReader() { };
};
+class iDVBPESReader: public iObject
+{
+public:
+ virtual RESULT start(int pid)=0;
+ virtual RESULT stop()=0;
+ virtual RESULT connectRead(const Slot2<void,const __u8*, int> &read, ePtr<eConnection> &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
/* 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;
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;
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;
virtual RESULT setBoundary(off_t max) = 0;
virtual RESULT stop() = 0;