mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
movieplayer: fix display of timeshift stop dialog ...
... if timeshift was stopped in background while playback
Origin commit data
------------------
Branch: ni/coolstream
Commit: c6bab8b407
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-08-01 (Wed, 01 Aug 2018)
Origin message was:
------------------
- movieplayer: fix display of timeshift stop dialog ...
... if timeshift was stopped in background while playback
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1659,7 +1659,12 @@ void CMoviePlayerGui::PlayFileLoop(void)
|
||||
bool timeshift_stopped = false;
|
||||
|
||||
if (timeshift != TSHIFT_MODE_OFF)
|
||||
timeshift_stopped = CRecordManager::getInstance()->ShowMenu();
|
||||
{
|
||||
if (CRecordManager::getInstance()->Timeshift())
|
||||
timeshift_stopped = CRecordManager::getInstance()->ShowMenu();
|
||||
else // timeshift playback still active, but recording already stopped
|
||||
timeshift_stopped = true;
|
||||
}
|
||||
|
||||
if (timeshift == TSHIFT_MODE_OFF || timeshift_stopped)
|
||||
{
|
||||
|
Reference in New Issue
Block a user