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:36 +0000 (17:23 +0100)
lib/service/iservice.h
lib/service/servicedvb.cpp
lib/service/servicedvb.h

index 8b64f166017257108a3cbbe620fbfbf7f0774e92..c35313f04b199efd47d5242f6edb335d88278f16 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 1df4e6393429b04c9281b287f79110670275ca32..9f10644cec451692cf2a24fbad74606a46b16e19 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 6ab3b347af6a6cd52149081cf5475df1087007d8..1262836e90d0cdb9db864c919f153749d928bbbf 100644 (file)
@@ -159,7 +159,7 @@ public:
 
                // iTimeshiftService
        RESULT startTimeshift();
-       RESULT stopTimeshift(bool switchToLive=true);
+       RESULT stopTimeshift(bool swToLive=true);
        int isTimeshiftActive();
        RESULT activateTimeshift();