MCPcopy Create free account
hub / github.com/Pulse-Eight/libcec / HandleFeatureAbort

Method HandleFeatureAbort

src/libcec/implementations/CECCommandHandler.cpp:299–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

297}
298
299int CCECCommandHandler::HandleFeatureAbort(const cec_command &command)
300{
301 if (command.parameters.size == 2 &&
302 (command.parameters[1] == CEC_ABORT_REASON_UNRECOGNIZED_OPCODE ||
303 command.parameters[1] == CEC_ABORT_REASON_REFUSED))
304 m_processor->GetDevice(command.initiator)->SetUnsupportedFeature((cec_opcode)command.parameters[0]);
305 return COMMAND_HANDLED;
306}
307
308int CCECCommandHandler::HandleGetCecVersion(const cec_command &command)
309{

Callers

nothing calls this directly

Calls 2

SetUnsupportedFeatureMethod · 0.80
GetDeviceMethod · 0.45

Tested by

no test coverage detected