summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-11-18 12:19:51 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-11-18 12:19:51 +0100
commitcca2cd35ad7ef20ae7d124e06d05e896c4d8f9b6 (patch)
tree21b5f90cfe4143d1fc2188663d671b7f92f05670 /recording.h
parent5b4e1fa793506405d0d8bac47a36640a06340c80 (diff)
downloadvdr-cca2cd35ad7ef20ae7d124e06d05e896c4d8f9b6.tar.gz
vdr-cca2cd35ad7ef20ae7d124e06d05e896c4d8f9b6.tar.bz2
Improved editing TS recordings
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 7118e783..9ae9b1ec 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 2.39 2012/11/12 14:51:09 kls Exp $
+ * $Id: recording.h 2.40 2012/11/13 11:43:59 kls Exp $
*/
#ifndef __RECORDING_H
@@ -238,6 +238,19 @@ public:
cMark *Get(int Position);
cMark *GetPrev(int Position);
cMark *GetNext(int Position);
+ cMark *GetNextBegin(cMark *EndMark = NULL);
+ ///< Returns the next "begin" mark after EndMark, skipping any marks at the
+ ///< same position as EndMark. If EndMark is NULL, the first actual "begin"
+ ///< will be returned (if any).
+ cMark *GetNextEnd(cMark *BeginMark);
+ ///< Returns the next "end" mark after BeginMark, skipping any marks at the
+ ///< same position as BeginMark.
+ int GetNumSequences(void);
+ ///< Returns the actual number of sequences to be cut from the recording.
+ ///< If there is only one actual "begin" mark, and it is positioned at index
+ ///< 0 (the beginning of the recording), and there is no "end" mark, the
+ ///< return value is 0, which means that the result is the same as the original
+ ///< recording.
};
#define RUC_BEFORERECORDING "before"