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

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2018-07-29 00:54:54 +02:00
committed by Thilo Graf
parent 351559f664
commit 530c3e1c1b
3 changed files with 13 additions and 2 deletions

View File

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