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:
d5890d1
)
mark a device as powered on when receiving a stream path or routing change
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 01:33:36 +0000
(
02:33
+0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Wed, 14 Nov 2012 01:33:36 +0000
(
02:33
+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 fd2a348a64a7bc6d87064fa2a298db9c1df59457..b304cb9c3e1a902b9a0ae2c0652fa93857bbb8ac 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-1122,6
+1122,8
@@
bool CCECBusDevice::TransmitPendingActiveSourceCommands(void)
void CCECBusDevice::SetActiveRoute(uint16_t iRoute)
{
+ SetPowerStatus(CEC_POWER_STATUS_ON);
+
CCECDeviceMap* map = m_processor->GetDevices();
if (!map)
return;
@@
-1142,6
+1144,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);
+
CLockObject lock(m_mutex);
if (iNewAddress != m_iStreamPath)
{