libCEC marked itself as inactive source when the stream path changed to a device with a different physical address. bugzid: 2157
device->MarkAsActiveSource();
return COMMAND_HANDLED;
}
device->MarkAsActiveSource();
return COMMAND_HANDLED;
}
- else
- {
- cec_logical_address previousSource = m_processor->GetActiveSource(false);
- CCECBusDevice* device = m_processor->GetDevice(previousSource);
- if (device && device->GetCurrentPhysicalAddress() != iStreamAddress)
- device->MarkAsInactiveSource();
- }
}
return CEC_ABORT_REASON_INVALID_OPERAND;
}
return CEC_ABORT_REASON_INVALID_OPERAND;