git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix locks ?!?
[enigma2.git]
/
lib
/
dvb
/
idemux.h
diff --git
a/lib/dvb/idemux.h
b/lib/dvb/idemux.h
index 6cf7b0245a8d567e09827414f8d994b5c9182b61..b04ad000322db1938d90cd8da765ecabda53d616 100644
(file)
--- a/
lib/dvb/idemux.h
+++ b/
lib/dvb/idemux.h
@@
-53,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
@@
-65,6
+74,8
@@
public:
virtual RESULT setTimingPID(int pid) = 0;
virtual RESULT setTargetFD(int fd) = 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;
virtual RESULT setBoundary(off_t max) = 0;
virtual RESULT stop() = 0;