movieplayer/record: stop playback of timeshift when zap to another channel

Origin commit data
------------------
Commit: d03f201f8b
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-07-29 (Sun, 29 Jul 2018)

Origin message was:
------------------
- movieplayer/record: stop playback of timeshift when zap to another channel
This commit is contained in:
vanhofen
2018-07-29 00:54:54 +02:00
parent bb03b9519b
commit ac6bf7ce05
3 changed files with 13 additions and 2 deletions

View File

@@ -1155,7 +1155,7 @@ bool CRecordManager::StopAutoRecord(bool lock)
g_RCInput->killTimer (shift_timer);
if(!autoshift)
if (!autoshift)
return false;
if (lock)
@@ -1165,7 +1165,7 @@ bool CRecordManager::StopAutoRecord(bool lock)
if (inst)
{
StopInstance(inst);
CMoviePlayerGui::getInstance().timeshift = TSHIFT_MODE_OFF;
CMoviePlayerGui::getInstance().stopTimeshift();
}
if (lock)