1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added missing 'const' to cRecording::FramesPerSecond()

This commit is contained in:
Klaus Schmidinger 2009-04-19 09:02:16 +02:00
parent ce4c062e0d
commit 457208b101
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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).

View File

@ -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; }