X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.cpp;h=e9674baafb22f84ca8f575d46e407884156cf8a4;hb=5827f4aa75371f5633afbc4fd98336a08f39352f;hp=3da959eb5939f61c2e1189cddac4abbe1d297bfc;hpb=f8513317a5f4bb2d9d0843193c3c98eca19f8e8a;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index 3da959e..e9674ba 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -44,7 +44,7 @@ CANCommandHandler::CANCommandHandler(CCECBusDevice *busDevice) : bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) { - if (command.parameters.size > 0) + if (m_processor->IsStarted() && command.parameters.size > 0) { cec_keypress key; key.duration = CEC_BUTTON_TIMEOUT;