summaryrefslogtreecommitdiff
path: root/recorder.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:41:11 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2009-01-06 14:41:11 +0100
commit7de7ede26fcabc232d5647b728080fe3c5d9fca2 (patch)
tree930f06d43802fefd93c83ac0e78e31aa25d7bf52 /recorder.h
parent7470253c60f98e654e01de5bd7cc3da893524462 (diff)
downloadvdr-7de7ede26fcabc232d5647b728080fe3c5d9fca2.tar.gz
vdr-7de7ede26fcabc232d5647b728080fe3c5d9fca2.tar.bz2
The recording format is now Transport Stream
Diffstat (limited to 'recorder.h')
-rw-r--r--recorder.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/recorder.h b/recorder.h
index 9cff1cc9..40a32224 100644
--- a/recorder.h
+++ b/recorder.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recorder.h 1.5 2007/01/07 14:44:05 kls Exp $
+ * $Id: recorder.h 2.1 2009/01/06 10:44:58 kls Exp $
*/
#ifndef __RECORDER_H
@@ -16,13 +16,19 @@
#include "ringbuffer.h"
#include "thread.h"
-class cFileWriter;
-
class cRecorder : public cReceiver, cThread {
private:
cRingBufferLinear *ringBuffer;
- cRemux *remux;
- cFileWriter *writer;
+ cFrameDetector *frameDetector;
+ cPatPmtGenerator patPmtGenerator;
+ cFileName *fileName;
+ cIndexFile *index;
+ cUnbufferedFile *recordFile;
+ cRecordingInfo recordingInfo;
+ off_t fileSize;
+ time_t lastDiskSpaceCheck;
+ bool RunningLowOnDiskSpace(void);
+ bool NextFile(void);
protected:
virtual void Activate(bool On);
virtual void Receive(uchar *Data, int Length);