cec: store the vendor ID when it's sent via CEC_OPCODE_DEVICE_VENDOR_ID. don't respon...
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 25 Oct 2011 17:47:00 +0000 (19:47 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 25 Oct 2011 17:47:34 +0000 (19:47 +0200)
src/lib/CECProcessor.cpp

index 88541c01fb315821f402f3f62af1b3cc1c90d0f0..97b6e54018356bdb1ccad52476941543ec950aa1 100644 (file)
@@ -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