diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2010-01-22 15:06:12 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2010-01-22 15:07:32 +0100 |
| commit | 39bcbbae7cd1d2db59ddbf6cbae665313a322f3a (patch) | |
| tree | d9e8de26fda010a5aaf2154768cc104f6280fc53 /lib/service/servicedvb.cpp | |
| parent | 0dfedee9efae9f34cea383b5b79dcd71828002b0 (diff) | |
| download | enigma2-39bcbbae7cd1d2db59ddbf6cbae665313a322f3a.tar.gz enigma2-39bcbbae7cd1d2db59ddbf6cbae665313a322f3a.zip | |
add possibility to stopTimeshift but not switch back to live (not used in e2.. but usable for external plugins)
this fixes bug #411
Diffstat (limited to 'lib/service/servicedvb.cpp')
| -rw-r--r-- | lib/service/servicedvb.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/service/servicedvb.cpp b/lib/service/servicedvb.cpp index 615329c9..25e723ed 100644 --- a/lib/service/servicedvb.cpp +++ b/lib/service/servicedvb.cpp @@ -2089,12 +2089,13 @@ RESULT eDVBServicePlay::startTimeshift() return 0; } -RESULT eDVBServicePlay::stopTimeshift() +RESULT eDVBServicePlay::stopTimeshift(bool switchToLive=true) { if (!m_timeshift_enabled) return -1; - switchToLive(); + if (switchToLive) + switchToLive(); m_timeshift_enabled = 0; |
