another compile fix for bug #411
[enigma2.git] / lib / service / servicedvb.cpp
index 615329c9b5d1cf064a08b5f95a246ad6d78c5335..9f10644cec451692cf2a24fbad74606a46b16e19 100644 (file)
@@ -2089,12 +2089,13 @@ RESULT eDVBServicePlay::startTimeshift()
        return 0;
 }
 
-RESULT eDVBServicePlay::stopTimeshift()
+RESULT eDVBServicePlay::stopTimeshift(bool swToLive)
 {
        if (!m_timeshift_enabled)
                return -1;
        
-       switchToLive();
+       if (swToLive)
+               switchToLive();
        
        m_timeshift_enabled = 0;