if (activeSource)
return activeSource->GetLogicalAddress();
- if (bRequestActiveSource && m_busDevices->GetActiveSourceAddress() == CEC_INVALID_PHYSICAL_ADDRESS)
+ if (bRequestActiveSource)
{
// request the active source from the bus
CCECBusDevice *primary = GetPrimaryDevice();
config->iFirmwareBuildDate = m_communication->GetFirmwareBuildDate();
config->adapterType = m_communication->GetAdapterType();
+ Close();
+
return true;
}
GetTV()->MarkHandlerReady();
}
+ // report our OSD name to the TV, since some TVs don't request it
+ client->GetPrimaryDevice()->TransmitOSDName(CECDEVICE_TV, false);
+
// request the power status of the TV
tv->RequestPowerStatus(sourceAddress, true);