cec: store the status of a bus device: present, not present or handled by libcec
[deb_libcec.git] / src / lib / CECProcessor.cpp
index a7ff64ca09ea8c42357242b5125c6615b389d14d..cf6405370b1dce2390d7c1b0ba7fc4a843598c24 100644 (file)
@@ -158,6 +158,7 @@ bool CCECProcessor::TryLogicalAddress(cec_logical_address address, unsigned int
     }
     m_busDevices[address]->m_powerStatus = CEC_POWER_STATUS_STANDBY;
     m_busDevices[address]->m_cecVersion =  CEC_VERSION_1_3A;
+    m_busDevices[address]->m_deviceStatus = CEC_DEVICE_STATUS_HANDLED_BY_LIBCEC;
 
     m_logicalAddresses.Set(address);