summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-02-27 13:40:43 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2011-02-27 13:40:43 +0100
commit61c6b36bbc2b624dba44082701818d843f4f00b3 (patch)
treefb06594cdd7fd38c4892ef97eec281d400c88046 /recording.h
parentcd3c26b815d5f021670d8476ae8ef04f334ed1ab (diff)
downloadvdr-61c6b36bbc2b624dba44082701818d843f4f00b3.tar.gz
vdr-61c6b36bbc2b624dba44082701818d843f4f00b3.tar.bz2
While replaying, the editing marks are now updated every 10 seconds
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/recording.h b/recording.h
index 7510a6e1..93b5a9cc 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.15 2010/12/27 10:48:21 kls Exp $
+ * $Id: recording.h 2.16 2011/02/27 12:48:21 kls Exp $
*/
#ifndef __RECORDING_H
@@ -190,9 +190,13 @@ public:
class cMarks : public cConfig<cMark> {
private:
+ cString fileName;
double framesPerSecond;
+ time_t lastUpdate;
+ time_t lastFileTime;
public:
bool Load(const char *RecordingFileName, double FramesPerSecond = DEFAULTFRAMESPERSECOND, bool IsPesRecording = false);
+ bool Update(void);
void Sort(void);
cMark *Add(int Position);
cMark *Get(int Position);