summaryrefslogtreecommitdiff
path: root/tools/time_pts.c
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-04-28 20:48:05 +0000
committerphintuka <phintuka>2008-04-28 20:48:05 +0000
commit4d45e27758cc9ec58f6581abcc2eda7ce8ea1bce (patch)
tree51a25c2ae519419e1f45824493471ff13f196500 /tools/time_pts.c
parentfb7c2e0acc5082d910c0504514494c4658d29a01 (diff)
downloadxineliboutput-4d45e27758cc9ec58f6581abcc2eda7ce8ea1bce.tar.gz
xineliboutput-4d45e27758cc9ec58f6581abcc2eda7ce8ea1bce.tar.bz2
Make some functions/parameters const
Diffstat (limited to 'tools/time_pts.c')
-rw-r--r--tools/time_pts.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/time_pts.c b/tools/time_pts.c
index 7bf410ce..81ee7c73 100644
--- a/tools/time_pts.c
+++ b/tools/time_pts.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: time_pts.c,v 1.3 2008-04-20 21:29:29 phintuka Exp $
+ * $Id: time_pts.c,v 1.4 2008-04-28 20:48:05 phintuka Exp $
*
*/
@@ -69,7 +69,7 @@ cTimePts::cTimePts(void)
Set();
}
-int64_t cTimePts::Now(void)
+int64_t cTimePts::Now(void) const
{
if(m_Paused)
return begin;
@@ -152,7 +152,7 @@ void cTimePts::Resume(void)
}
}
-void cTimePts::TrickSpeed(int Multiplier)
+void cTimePts::TrickSpeed(const int Multiplier)
{
Set(Now());
@@ -164,7 +164,7 @@ void cTimePts::TrickSpeed(int Multiplier)
LOGERR("cTimePts::SetSpeed: Multiplier=%d", Multiplier);
}
-void cTimePts::SetScrSpeed(int ScrSpeed)
+void cTimePts::SetScrSpeed(const int ScrSpeed)
{
Set(Now());