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:
05dac05
)
fixed - don't update the device status of unregistered/broadcast
author
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 11 Oct 2012 12:41:57 +0000
(14:41 +0200)
committer
Lars Op den Kamp
<lars@opdenkamp.eu>
Thu, 11 Oct 2012 12:41:57 +0000
(14:41 +0200)
src/lib/devices/CECBusDevice.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/devices/CECBusDevice.cpp
b/src/lib/devices/CECBusDevice.cpp
index 688cb12d7532330c346cdaca8bdb74413a024fc5..b42230dd41201913a0331e18f3b9c57aee874ec7 100644
(file)
--- a/
src/lib/devices/CECBusDevice.cpp
+++ b/
src/lib/devices/CECBusDevice.cpp
@@
-759,6
+759,9
@@
cec_bus_device_status CCECBusDevice::GetStatus(bool bForcePoll /* = false */, bo
void CCECBusDevice::SetDeviceStatus(const cec_bus_device_status newStatus, cec_version libCECSpecVersion /* = CEC_VERSION_1_4 */)
{
+ if (m_iLogicalAddress == CECDEVICE_UNREGISTERED)
+ return;
+
{
CLockObject lock(m_mutex);
switch (newStatus)