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:
1a6669b
)
cec: fixed - don't report a changed physical address when it hasn't changed
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 25 Nov 2011 12:23:22 +0000
(13:23 +0100)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Fri, 25 Nov 2011 12:23:22 +0000
(13:23 +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 a23c4e07187c80620fbf5f5791697b5730876a8b..5ca9b5781f4b9411e18965bb5ca77c3460dc2737 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-423,7
+423,7
@@
void CCECBusDevice::SetDeviceStatus(const cec_bus_device_status newStatus)
void CCECBusDevice::SetPhysicalAddress(uint16_t iNewAddress)
{
CLockObject lock(&m_mutex);
- if (iNewAddress > 0)
+ if (iNewAddress > 0
&& m_iPhysicalAddress != iNewAddress
)
{
CStdString strLog;
strLog.Format(">> %s (%X): physical address changed from %04x to %04x", GetLogicalAddressName(), m_iLogicalAddress, m_iPhysicalAddress, iNewAddress);