Permalink
Browse files

Declare pre/post cutlist translation functions as const.

  • Loading branch information...
1 parent 769059b commit b57fdf86a6abbdda61bfc64fe08b30c62f3d18dd @stichnot stichnot committed Apr 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/libs/libmythtv/mythplayer.h
@@ -381,10 +381,10 @@ class MTV_PUBLIC MythPlayer
virtual long long CalcMaxFFTime(long long ff, bool setjump = true) const;
long long CalcRWTime(long long rw) const;
virtual void calcSliderPos(osdInfo &info, bool paddedFields = false);
- uint64_t TranslatePositionAbsToRel(uint64_t absPosition) {
+ uint64_t TranslatePositionAbsToRel(uint64_t absPosition) const {
return deleteMap.TranslatePositionAbsToRel(absPosition);
}
- uint64_t TranslatePositionRelToAbs(uint64_t relPosition) {
+ uint64_t TranslatePositionRelToAbs(uint64_t relPosition) const {
return deleteMap.TranslatePositionRelToAbs(relPosition);
}

0 comments on commit b57fdf8

Please sign in to comment.