summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2009-04-19 09:02:16 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2009-04-19 09:02:16 +0200
commit457208b101fd86464018d94f2d97f008069ddabd (patch)
treed8d2356474cb6a0a7318f37bffc8af81b9ff26b5
parentce4c062e0d81b3e8aa9f927742c565565fc0e2c3 (diff)
downloadvdr-457208b101fd86464018d94f2d97f008069ddabd.tar.gz
vdr-457208b101fd86464018d94f2d97f008069ddabd.tar.bz2
Added missing 'const' to cRecording::FramesPerSecond()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY3
-rw-r--r--recording.h4
3 files changed, 5 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index c0946220..4d433c75 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1654,6 +1654,7 @@ Joachim Wilke <vdr@joachim-wilke.de>
one that fits the input
for reporting a problem with cStatus::MsgOsdTextItem() being called without a text
for reporting a missing install-i18n in the install target in the Makefile
+ for adding a missing 'const' to cRecording::FramesPerSecond()
Sascha Klek <sklek@gmx.de>
for reporting a problem with the '0' key in the "Day" item of the "Timers" menu
diff --git a/HISTORY b/HISTORY
index 8c55d986..232cd63f 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6031,7 +6031,7 @@ Video Disk Recorder Revision History
Oliver Endriss for reporting this).
- Improved efficiency of cEIT::cEIT() (thanks to Tobias Bratfisch).
-2009-04-18: Version 1.7.6
+2009-04-19: Version 1.7.6
- cDevice::PlayTs() now syncs on the TS packet sync bytes.
- Made MAXFRAMESIZE a multiple of TS_SIZE to avoid breaking up TS packets.
@@ -6048,3 +6048,4 @@ Video Disk Recorder Revision History
- Fixed distortions when switching to the next file during replay.
- Fixed detecting the frame rate for streams with PTS distances of 1800, which
apparently split one frame over two payload units.
+- Added missing 'const' to cRecording::FramesPerSecond() (thanks to Joachim Wilke).
diff --git a/recording.h b/recording.h
index 50992ca3..d55cfdf0 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.6 2009/04/13 11:10:50 kls Exp $
+ * $Id: recording.h 2.7 2009/04/19 09:00:45 kls Exp $
*/
#ifndef __RECORDING_H
@@ -109,7 +109,7 @@ public:
const char *PrefixFileName(char Prefix);
int HierarchyLevels(void) const;
void ResetResume(void) const;
- double FramesPerSecond(void) { return framesPerSecond; }
+ double FramesPerSecond(void) const { return framesPerSecond; }
bool IsNew(void) const { return GetResume() <= 0; }
bool IsEdited(void) const;
bool IsPesRecording(void) const { return isPesRecording; }