VDR 1.7.5: Missing const in cRecording::FramesPerSecond()

Message ID 2a954dbc0904190157y1667891ei5047dd694bbd309a@mail.gmail.com
State New
Headers

Commit Message

Joachim Wilke April 19, 2009, 8:57 a.m. UTC
  Adapting my plugins to VDR 1.7.5 I found a possible missing const in cRecording:
  

Patch

--- recording.h	(revision 157)
+++ recording.h	(working copy)
@@ -109,7 +109,7 @@ 
   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; }