cec: pass the deck_control command to libcec listeners
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 12 Nov 2011 11:28:41 +0000 (12:28 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 12 Nov 2011 11:28:41 +0000 (12:28 +0100)
src/lib/implementations/CECCommandHandler.cpp

index fee99806079f8aae569b87ad20ac7d82aebaf96a..3c3d84146cf96fc56b48da7c5b2e913542b0d6cd 100644 (file)
@@ -87,6 +87,8 @@ bool CCECCommandHandler::HandleCommand(const cec_command &command)
       break;
     case CEC_OPCODE_DECK_CONTROL:
       HandleDeckControl(command);
+      /* pass to listeners */
+      m_busDevice->GetProcessor()->AddCommand(command);
       break;
     case CEC_OPCODE_MENU_REQUEST:
       HandleMenuRequest(command);