From eae2e056711b81b23e6ab72ccad167e34b5de1ed Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 25 Jul 2018 00:13:46 +0200 Subject: [PATCH] record: set TSHIFT_MODE_OFF when stopping timeshift Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/f86e71184a8aa5eb780b409cc064467ffdaecd92 Author: vanhofen Date: 2018-07-25 (Wed, 25 Jul 2018) Origin message was: ------------------ - record: set TSHIFT_MODE_OFF when stopping timeshift --- src/driver/record.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index c70bc5b76..0b931a92e 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -1163,7 +1163,10 @@ bool CRecordManager::StopAutoRecord(bool lock) CRecordInstance * inst = FindTimeshift(); if (inst) + { StopInstance(inst); + CMoviePlayerGui::getInstance().timeshift = TSHIFT_MODE_OFF; + } if (lock) mutex.unlock();