another compile fix for bug #411
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 22 Jan 2010 16:23:03 +0000 (17:23 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 22 Jan 2010 16:23:03 +0000 (17:23 +0100)
lib/service/iservice.h
lib/service/servicedvb.cpp
lib/service/servicedvb.h

index 8b64f16..c35313f 100644 (file)
@@ -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 */
index 1df4e63..9f10644 100644 (file)
@@ -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;
index 6ab3b34..1262836 100644 (file)
@@ -159,7 +159,7 @@ public:
 
                // iTimeshiftService
        RESULT startTimeshift();
-       RESULT stopTimeshift(bool switchToLive=true);
+       RESULT stopTimeshift(bool swToLive=true);
        int isTimeshiftActive();
        RESULT activateTimeshift();