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