summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-06-22 10:11:59 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-06-22 10:11:59 +0200
commit7ade39597ac83a03395e86a8276fbb6dec6a6a2f (patch)
tree11cb4137aee8c97844a03efcaea242f5983d333d /recording.h
parent8a9898ea4f5d1ad71d3ab13b08484bd6ef3a72c8 (diff)
downloadvdr-7ade39597ac83a03395e86a8276fbb6dec6a6a2f.tar.gz
vdr-7ade39597ac83a03395e86a8276fbb6dec6a6a2f.tar.bz2
Activated cutting
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 16c6506f..2fae49ee 100644
--- a/recording.h
+++ b/recording.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: recording.h 1.23 2002/06/16 11:29:47 kls Exp $
+ * $Id: recording.h 1.24 2002/06/22 10:09:27 kls Exp $
*/
#ifndef __RECORDING_H
@@ -107,6 +107,9 @@ public:
//XXX+
#define FRAMESPERSEC 25
+// The maximum size of a single frame:
+#define MAXFRAMESIZE KILOBYTE(192)
+
// The maximum file size is limited by the range that can be covered
// with 'int'. 4GB might be possible (if the range is considered
// 'unsigned'), 2GB should be possible (even if the range is considered
@@ -163,4 +166,6 @@ int HMSFToIndex(const char *HMSF);
int SecondsToFrames(int Seconds); //XXX+ ->player???
// Returns the number of frames corresponding to the given number of seconds.
+int ReadFrame(int f, uchar *b, int Length, int Max);
+
#endif //__RECORDING_H