m_clientVersion(configuration->clientVersion),
m_wakeDevices(configuration->wakeDevices)
{
+ if (m_types.IsEmpty())
+ m_types.Add(CEC_DEVICE_TYPE_RECORDING_DEVICE);
m_logicalAddresses.Clear();
CreateBusDevices();
if (configuration->tvVendor != CEC_VENDOR_UNKNOWN)
m_iLastTransmission(0),
m_clientVersion(clientVersion)
{
+ if (m_types.IsEmpty())
+ m_types.Add(CEC_DEVICE_TYPE_RECORDING_DEVICE);
m_wakeDevices.Clear();
m_logicalAddresses.Clear();
CreateBusDevices();
bool bReturn(true);
m_logicalAddresses.Clear();
+ if (m_types.IsEmpty())
+ {
+ CLibCEC::AddLog(CEC_LOG_ERROR, "no device types set");
+ return false;
+ }
+
for (unsigned int iPtr = 0; iPtr < 5; iPtr++)
{
if (m_types.types[iPtr] == CEC_DEVICE_TYPE_RESERVED)