CCECBusDevice *primary = bIsRunning ? GetPrimaryDevice() : NULL;
cec_device_type oldPrimaryType = primary ? primary->GetType() : CEC_DEVICE_TYPE_RECORDING_DEVICE;
- m_configuration.serverVersion = LIBCEC_VERSION_CURRENT;
- m_configuration.clientVersion = configuration->clientVersion;
+ m_configuration.clientVersion = configuration->clientVersion;
LIB_CEC->AddLog(CEC_LOG_DEBUG, "%s - using client version '%s'", __FUNCTION__, ToString((cec_client_version)configuration->clientVersion));
// client version 1.5.0
else if (m_configuration.bActivateSource == 1 && bIsRunning && !m_processor->IsActiveSource(m_configuration.logicalAddresses.primary))
{
// activate the source if we're not already the active source
- m_processor->SetActiveSource(m_configuration.deviceTypes.types[0]);
+ SendSetActiveSource(m_configuration.deviceTypes.types[0]);
}
// persist the configuration