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:
4d6b443
)
cec: set power status to on when the stream path changed to something else than 0
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 10 Nov 2011 17:30:00 +0000
(18:30 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 10 Nov 2011 18:00:30 +0000
(19:00 +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 3c371f4be990b9c415aa2ae4f7b94f8621bdb260..b5f5b580a6b099cd16ab2ad7f6f667897b6c6faa 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-295,6
+295,9
@@
void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /*
AddLog(CEC_LOG_DEBUG, strLog.c_str());
m_iStreamPath = iNewAddress;
+
+ if (iNewAddress > 0)
+ SetPowerStatus(CEC_POWER_STATUS_ON);
}
}