summaryrefslogtreecommitdiff
path: root/recording.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2021-05-23 15:03:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2021-05-23 15:03:17 +0200
commit8f52603665c024e1cab46529b34fb75719f5a58e (patch)
treeadc724d913031bc4adf9ee1716200c13e687bece /recording.h
parentc40fb4b4aa1f594fa94d89673d0a537bac3ec91d (diff)
downloadvdr-8f52603665c024e1cab46529b34fb75719f5a58e.tar.gz
vdr-8f52603665c024e1cab46529b34fb75719f5a58e.tar.bz2
cRecordingInfo::Errors() now returns -1 for old recordings; added a missing 'const'
Diffstat (limited to 'recording.h')
-rw-r--r--recording.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/recording.h b/recording.h
index 34f097fa..4d7d8a6c 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.4 2021/05/19 11:22:20 kls Exp $
+ * $Id: recording.h 5.5 2021/05/23 15:03:17 kls Exp $
*/
#ifndef __RECORDING_H
@@ -89,7 +89,7 @@ public:
double FramesPerSecond(void) const { return framesPerSecond; }
void SetFramesPerSecond(double FramesPerSecond);
void SetFileName(const char *FileName);
- int Errors(void) { return errors; }
+ int Errors(void) const { return errors; } // returns -1 if undefined
void SetErrors(int Errors);
bool Write(FILE *f, const char *Prefix = "") const;
bool Read(void);