From: Lars Op den Kamp Date: Tue, 25 Oct 2011 17:47:00 +0000 (+0200) Subject: cec: store the vendor ID when it's sent via CEC_OPCODE_DEVICE_VENDOR_ID. don't respon... X-Git-Tag: upstream/2.2.0~1^2~224 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=50c806cd8dd4edb8a58b23c9745e885a0beb9249;p=deb_libcec.git cec: store the vendor ID when it's sent via CEC_OPCODE_DEVICE_VENDOR_ID. don't respond to CEC_OPCODE_VENDOR_COMMAND_WITH_ID with an abort command --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 88541c0..97b6e54 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -552,9 +552,11 @@ void CCECProcessor::ParseCommand(cec_command &command) case CEC_OPCODE_GIVE_DEVICE_VENDOR_ID: ReportVendorID(command.initiator); break; + case CEC_OPCODE_DEVICE_VENDOR_ID: + ParseVendorId(command.initiator, command.parameters); + break; case CEC_OPCODE_VENDOR_COMMAND_WITH_ID: ParseVendorId(command.initiator, command.parameters); - TransmitAbort(command.initiator, CEC_OPCODE_VENDOR_COMMAND_WITH_ID); break; case CEC_OPCODE_GIVE_DECK_STATUS: // need to support opcodes play and deck control before doing anything with this