From 8f52603665c024e1cab46529b34fb75719f5a58e Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 23 May 2021 15:03:17 +0200 Subject: cRecordingInfo::Errors() now returns -1 for old recordings; added a missing 'const' --- recording.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recording.h') 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); -- cgit v1.2.3