git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add possibility to select multimode instead of pal/ntsc for TVs with support
[enigma2.git]
/
lib
/
dvb
/
idemux.h
diff --git
a/lib/dvb/idemux.h
b/lib/dvb/idemux.h
index e48c5d9a93f8a4eafcc478972011fb4c4078e7d1..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
@@
-62,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;