repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cec: fixed - send a feature abort as reply to vendor commands
[deb_libcec.git]
/
src
/
lib
/
implementations
/
CECCommandHandler.cpp
diff --git
a/src/lib/implementations/CECCommandHandler.cpp
b/src/lib/implementations/CECCommandHandler.cpp
index a240c9086739cc343e3e25354c5750d7acaedbfd..2bab840623c473d1b66a6f5f102a99b59bf8d70c 100644
(file)
--- a/
src/lib/implementations/CECCommandHandler.cpp
+++ b/
src/lib/implementations/CECCommandHandler.cpp
@@
-682,8
+682,10
@@
bool CCECCommandHandler::HandleUserControlRelease(const cec_command &command)
return true;
}
return true;
}
-bool CCECCommandHandler::HandleVendorCommand(const cec_command &
UNUSED(command)
)
+bool CCECCommandHandler::HandleVendorCommand(const cec_command &
command
)
{
{
+ if (m_processor->CECInitialised() && m_processor->IsHandledByLibCEC(command.destination))
+ m_processor->TransmitAbort(command.destination, command.initiator, command.opcode, CEC_ABORT_REASON_REFUSED);
return true;
}
return true;
}