From: Lars Op den Kamp Date: Sat, 12 Nov 2011 11:28:41 +0000 (+0100) Subject: cec: pass the deck_control command to libcec listeners X-Git-Tag: upstream/2.2.0~1^2~45^2~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=56594657d6f54562e234125289d5a2c47b4cc266;p=deb_libcec.git cec: pass the deck_control command to libcec listeners --- diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index fee9980..3c3d841 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -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);