diff --git a/mythtv/programs/mythbackend/scheduler.cpp b/mythtv/programs/mythbackend/scheduler.cpp
index a23b55b..34751a5 100644
|
a
|
b
|
int Scheduler::CalcTimeToNextHandleRecordingEvent(
|
| 1977 | 1977 | |
| 1978 | 1978 | int secs_to_next = curtime.secsTo((*i)->GetRecordingStartTime()); |
| 1979 | 1979 | |
| 1980 | | if (!recPendingList[(*i)->MakeUniqueSchedulerKey()]) |
| | 1980 | // We want to wake up to send pending record when desireable. |
| | 1981 | if (((*i)->GetRecordingStatus() == rsWillRecord) && |
| | 1982 | !recPendingList.contains((*i)->MakeUniqueSchedulerKey())) |
| | 1983 | { |
| 1981 | 1984 | secs_to_next -= 30; |
| | 1985 | } |
| 1982 | 1986 | |
| 1983 | 1987 | if (secs_to_next < 0) |
| 1984 | 1988 | { |