record: set TSHIFT_MODE_OFF when stopping timeshift

Origin commit data
------------------
Commit: f86e71184a
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-25 (Wed, 25 Jul 2018)

Origin message was:
------------------
- record: set TSHIFT_MODE_OFF when stopping timeshift
This commit is contained in:
vanhofen
2018-07-25 00:13:46 +02:00
parent cc4777dbb7
commit eae2e05671

View File

@@ -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();