mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 15:58:31 +00:00
Fix Incorrect detection of a recording that is currently running
To set timeShiftActive correctly, it is not sufficient to compare the name of the recording and the timer in cGlobalTimers::IsRecording() if no short text is available. Therefore, the start time of both is now also compared.
This commit is contained in:
@@ -177,9 +177,9 @@ void cViewReplay::GetGlobalTimers(void) {
|
||||
}
|
||||
|
||||
void cViewReplay::SetTimeShiftValues(int current, int total) {
|
||||
timeShiftActive = NoRec;
|
||||
if (!recording)
|
||||
return;
|
||||
timeShiftActive = NoRec;
|
||||
#if APIVERSNUM >= 20101
|
||||
int usage = recording->IsInUse();
|
||||
if (usage & ruTimer)
|
||||
|
Reference in New Issue
Block a user