aboutsummaryrefslogtreecommitdiff
path: root/lib/service
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-01-22 17:23:03 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-01-22 17:23:36 +0100
commit7c75162a934f5cb088801396f2b3129d74a119e6 (patch)
tree1ccd003e499371ef3ae6c151f6cbe7b0f7974059 /lib/service
parent2ca3e0c2f189c3b2ee885911d03f6947ac152254 (diff)
downloadenigma2-7c75162a934f5cb088801396f2b3129d74a119e6.tar.gz
enigma2-7c75162a934f5cb088801396f2b3129d74a119e6.zip
another compile fix for bug #411
Diffstat (limited to 'lib/service')
-rw-r--r--lib/service/iservice.h2
-rw-r--r--lib/service/servicedvb.cpp4
-rw-r--r--lib/service/servicedvb.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h
index 8b64f166..c35313f0 100644
--- a/lib/service/iservice.h
+++ b/lib/service/iservice.h
@@ -593,7 +593,7 @@ class iTimeshiftService: public iObject
#endif
public:
virtual RESULT startTimeshift()=0;
- virtual RESULT stopTimeshift(bool switchToLive=true)=0;
+ virtual RESULT stopTimeshift(bool swToLive=true)=0;
virtual int isTimeshiftActive()=0;
/* this essentially seeks to the relative end of the timeshift buffer */
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp
index 1df4e639..9f10644c 100644
--- a/lib/service/servicedvb.cpp
+++ b/lib/service/servicedvb.cpp
@@ -2089,12 +2089,12 @@ RESULT eDVBServicePlay::startTimeshift()
return 0;
}
-RESULT eDVBServicePlay::stopTimeshift(bool switchToLive)
+RESULT eDVBServicePlay::stopTimeshift(bool swToLive)
{
if (!m_timeshift_enabled)
return -1;
- if (switchToLive)
+ if (swToLive)
switchToLive();
m_timeshift_enabled = 0;
diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h
index 6ab3b347..1262836e 100644
--- a/lib/service/servicedvb.h
+++ b/lib/service/servicedvb.h
@@ -159,7 +159,7 @@ public:
// iTimeshiftService
RESULT startTimeshift();
- RESULT stopTimeshift(bool switchToLive=true);
+ RESULT stopTimeshift(bool swToLive=true);
int isTimeshiftActive();
RESULT activateTimeshift();