repositories
/
deb_libcec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e52691
)
cec: update the power status of a device when it's set to CEC_POWER_STATUS_IN_TRANSIT...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 29 Dec 2011 01:48:16 +0000
(
02:48
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 29 Dec 2011 01:48:16 +0000
(
02:48
+0100)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index c2704ae56bbbe79dc91bfc9649e30a39ad821c5a..bd68dfc1f8e555fede5920b7bd6a690dbf6c78e4 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-299,7
+299,8
@@
cec_power_status CCECBusDevice::GetPowerStatus(bool bUpdate /* = false */)
{
CLockObject lock(&m_mutex);
bRequestUpdate = (GetStatus() == CEC_DEVICE_STATUS_PRESENT &&
- (bUpdate || m_powerStatus == CEC_POWER_STATUS_UNKNOWN));
+ (bUpdate || m_powerStatus == CEC_POWER_STATUS_UNKNOWN ||
+ m_powerStatus == CEC_POWER_STATUS_IN_TRANSITION_STANDBY_TO_ON));
}
if (bRequestUpdate)