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:
ebcedb0
)
don't update the power status when the stream path is reset
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 09:27:01 +0000
(10:27 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 09:27:01 +0000
(10:27 +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 3e44752cc7dd2adfabbbc4319857d4d7b41b5f6f..e9cc13b93f79974bbc34866687dfb1ac8352c8bc 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-1146,7
+1146,8
@@
void CCECBusDevice::SetActiveRoute(uint16_t iRoute)
void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */)
{
- SetPowerStatus(CEC_POWER_STATUS_ON);
+ if (iNewAddress != CEC_INVALID_PHYSICAL_ADDRESS)
+ SetPowerStatus(CEC_POWER_STATUS_ON);
CLockObject lock(m_mutex);
if (iNewAddress != m_iStreamPath)