From: Lars Op den Kamp Date: Wed, 26 Oct 2011 19:48:10 +0000 (+0200) Subject: cec: also parse the vendor id if it's sent to the broadcast address X-Git-Tag: upstream/2.2.0~1^2~215 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=dfc63a477abf728b24cc8fad520a6e60d7c129cf;p=deb_libcec.git cec: also parse the vendor id if it's sent to the broadcast address --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 2e53d6b..e324899 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -646,8 +646,6 @@ bool CCECProcessor::HandleCecCommand(cec_command &command) 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); break; @@ -720,6 +718,10 @@ bool CCECProcessor::HandleCecCommand(cec_command &command) m_controller->AddCommand(command); } break; + case CEC_OPCODE_DEVICE_VENDOR_ID: + case CEC_OPCODE_VENDOR_COMMAND_WITH_ID: + ParseVendorId(command.initiator, command.parameters); + break; default: m_controller->AddCommand(command); bHandled = false;