{
CLibCEC::AddLog(CEC_LOG_ERROR, "could not open a connection (try %d)", ++iConnectTry);
m_communication->Close();
- Sleep(500);
+ CEvent::Sleep(1000);
}
if (bReturn)
else
return SetHDMIPort(m_configuration.baseDevice, m_configuration.iHDMIPort);
}
+ else if (m_configuration.bActivateSource == 1 && IsRunning() && !IsActiveSource(m_logicalAddresses.primary))
+ {
+ // activate the source if we're not already the active source
+ SetActiveSource(m_configuration.deviceTypes.types[0]);
+ }
return true;
}