projects
/
vuplus_xbmc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
18cebf0
)
[pvr] fix: wrong condition in PVRManager::IsIdle (Ticket #14630)
author
xhaggi
<sascha.woo@gmail.com>
Sat, 15 Feb 2014 11:09:06 +0000
(12:09 +0100)
committer
xhaggi
<sascha.woo@gmail.com>
Tue, 18 Feb 2014 10:32:39 +0000
(11:32 +0100)
IsIdle() returns the wrong state (true) if delta between next timer and
now is equal to the backend idle time setting. In this condition XBMC
shuts down with a wrong wakeup time for the next timer.
xbmc/pvr/PVRManager.cpp
patch
|
blob
|
history
diff --git
a/xbmc/pvr/PVRManager.cpp
b/xbmc/pvr/PVRManager.cpp
index
cc98c43
..
9a8f7c5
100644
(file)
--- a/
xbmc/pvr/PVRManager.cpp
+++ b/
xbmc/pvr/PVRManager.cpp
@@
-1323,10
+1323,8
@@
bool CPVRManager::IsIdle(void) const
const CDateTime next = m_timers->GetNextEventTime();
const CDateTimeSpan delta = next - now;
- if (delta < idle)
- {
+ if (delta <= idle)
return false;
- }
}
return true;