X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FRLCommandHandler.cpp;h=208b50468f597a216c98118a328ce0e6cd1a862d;hp=913631b018e1da75965a4fe22ffabb7004a87501;hb=3ff78be261e2a30b6cb23847f4148c1344cef8df;hpb=58691fb86d4dd7daac8b283a1bf1f125f00847a5 diff --git a/src/lib/implementations/RLCommandHandler.cpp b/src/lib/implementations/RLCommandHandler.cpp index 913631b..208b504 100644 --- a/src/lib/implementations/RLCommandHandler.cpp +++ b/src/lib/implementations/RLCommandHandler.cpp @@ -108,6 +108,7 @@ int CRLCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman case CEC_OPCODE_USER_CONTROL_PRESSED: if (command.parameters.size == 5) { + bHandled = true; switch (command.parameters[4]) { // top menu -> root menu @@ -119,10 +120,9 @@ int CRLCommandHandler::HandleDeviceVendorCommandWithId(const cec_command &comman client->SetCurrentButton(CEC_USER_CONTROL_CODE_CONTENTS_MENU); break; default: - RequestEmailFromCustomer(command); + bHandled = false; break; } - bHandled = true; } break; // user control released