From: Lars Op den Kamp Date: Thu, 25 Oct 2012 08:51:51 +0000 (+0200) Subject: fixed - don't respond with an abort message when receiving a vendor remote button... X-Git-Tag: upstream/2.2.0~1^2~13^2~12 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=eed79968b02fe279790a3e8ee32e06de03124298;p=deb_libcec.git fixed - don't respond with an abort message when receiving a vendor remote button command --- diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 1a6cd56..ccefb58 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -135,8 +135,8 @@ namespace CEC virtual int HandleUserControlPressed(const cec_command &command); virtual int HandleUserControlRelease(const cec_command &command); virtual int HandleVendorCommand(const cec_command &command); - virtual int HandleVendorRemoteButtonDown(const cec_command & UNUSED(command)) { return CEC_ABORT_REASON_REFUSED; } - virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { return CEC_ABORT_REASON_REFUSED; } + virtual int HandleVendorRemoteButtonDown(const cec_command & UNUSED(command)) { return COMMAND_HANDLED; } + virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { return COMMAND_HANDLED; } virtual void UnhandledCommand(const cec_command &command, const cec_abort_reason reason); virtual void VendorPreActivateSourceHook(void) {};