diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-19 11:22:20 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2021-05-19 11:22:20 +0200 |
commit | 31b87544f1ca5580ad96d080e5b93793775b4fdb (patch) | |
tree | 6332371bf0a9499717d193d973e32b80b8c207fc /recording.h | |
parent | cd3cda2654bbd4272096bbabb4953ce352de8358 (diff) | |
download | vdr-31b87544f1ca5580ad96d080e5b93793775b4fdb.tar.gz vdr-31b87544f1ca5580ad96d080e5b93793775b4fdb.tar.bz2 |
Recordings are now checked for errors
Diffstat (limited to 'recording.h')
-rw-r--r-- | recording.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recording.h b/recording.h index 217adea9..34f097fa 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 5.3 2021/01/19 20:38:28 kls Exp $ + * $Id: recording.h 5.4 2021/05/19 11:22:20 kls Exp $ */ #ifndef __RECORDING_H @@ -72,6 +72,7 @@ private: int priority; int lifetime; char *fileName; + int errors; cRecordingInfo(const cChannel *Channel = NULL, const cEvent *Event = NULL); bool Read(FILE *f); public: @@ -88,6 +89,8 @@ public: double FramesPerSecond(void) const { return framesPerSecond; } void SetFramesPerSecond(double FramesPerSecond); void SetFileName(const char *FileName); + int Errors(void) { return errors; } + void SetErrors(int Errors); bool Write(FILE *f, const char *Prefix = "") const; bool Read(void); bool Write(void) const; |