From: Lars Op den Kamp Date: Thu, 11 Oct 2012 12:41:57 +0000 (+0200) Subject: fixed - don't update the device status of unregistered/broadcast X-Git-Tag: upstream/2.2.0~1^2~15^2^2~4 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f3b448b7f7b69a45a678fc19da1cc9d7a9035372;p=deb_libcec.git fixed - don't update the device status of unregistered/broadcast --- diff --git a/src/lib/devices/CECBusDevice.cpp b/src/lib/devices/CECBusDevice.cpp index 688cb12..b42230d 100644 --- 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)