X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fservice%2Fservicedvb.cpp;h=558bf0c22cd0273428aa24577915a72b6182df3c;hp=1a3cb0e00f01e799860e7738e936935c04919464;hb=a37ddbb7785de5f1d944f4937a5b2914ce6a3862;hpb=ae12f5e4894a65289aeafd97931e1651939bf8b1 diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index 1a3cb0e..558bf0c 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -2085,12 +2085,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;