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:
6d6c6bc
)
don't mark a device as inactive when receiving a routing change message, only when...
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 7 Mar 2013 10:35:17 +0000
(11:35 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 7 Mar 2013 10:35:17 +0000
(11:35 +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 9d172d88a7ccec657bd09af093d2e92d03c0e821..4d9c56a2f380d87ebcf774f410c903eda26d42ee 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-1143,17
+1143,6
@@
void CCECBusDevice::SetActiveRoute(uint16_t iRoute)
else
newRoute->MarkAsActiveSource();
}
else
newRoute->MarkAsActiveSource();
}
- else
- {
- // get the current active source and it's physical address
- CCECBusDevice *device = m_processor->GetDevices()->GetActiveSource();
- uint16_t iPhysicalAddress(device ? device->GetCurrentPhysicalAddress() : CEC_INVALID_PHYSICAL_ADDRESS);
-
- // check whether the route below the device changed
- if (CLibCEC::IsValidPhysicalAddress(iPhysicalAddress) &&
- !CCECTypeUtils::PhysicalAddressIsIncluded(iPhysicalAddress, iRoute))
- device->MarkAsInactiveSource();
- }
}
void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */)
}
void CCECBusDevice::SetStreamPath(uint16_t iNewAddress, uint16_t iOldAddress /* = CEC_INVALID_PHYSICAL_ADDRESS */)