cec: send abort message when receiving opcode deck status
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 8 Oct 2011 15:44:34 +0000 (17:44 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 8 Oct 2011 15:44:34 +0000 (17:44 +0200)
src/lib/CECProcessor.cpp

index 60ad2e3c26804ca306d2932b816708ef401d8146..81acbd718731295b457927081d985b5160a23878 100644 (file)
@@ -571,6 +571,10 @@ void CCECProcessor::ParseCurrentFrame(cec_frame &frame)
       ParseVendorId((cec_logical_address)initiator, frame);
       TransmitAbort((cec_logical_address)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
+      TransmitAbort((cec_logical_address)initiator, CEC_OPCODE_GIVE_DECK_STATUS);
+      break;
     case CEC_OPCODE_MENU_REQUEST:
       ReportMenuState((cec_logical_address)initiator);
       break;