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:
43b2dfd
)
cec: don't reset the power state to powered off when not the active source, or the...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 28 Apr 2012 00:02:48 +0000
(
02:02
+0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Sat, 28 Apr 2012 00:02:48 +0000
(
02:02
+0200)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 141180dd74c4f4022f30ffaf5f19a1ac7340fb1a..7e63a67ff8808d6da91a3835a4a590cccd68d65b 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-975,12
+975,6
@@
bool CCECBusDevice::TransmitPowerState(cec_logical_address dest)
cec_power_status state;
{
CLockObject lock(m_mutex);
- if (!IsActiveSource())
- {
- CLibCEC::AddLog(CEC_LOG_NOTICE, "power state requested of %s (%X), but we are not the active source. setting power state to standby", GetLogicalAddressName(), m_iLogicalAddress);
- SetPowerStatus(CEC_POWER_STATUS_STANDBY);
- }
-
CLibCEC::AddLog(CEC_LOG_NOTICE, "<< %s (%X) -> %s (%X): %s", GetLogicalAddressName(), m_iLogicalAddress, ToString(dest), dest, ToString(m_powerStatus));
state = m_powerStatus;
}