X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.cpp;h=d3318a18dff928d103c86da4b586f8bc4247dc1c;hb=8e57f83c5cc5b448024c9e2c9bf8f2d93b78c756;hp=596bcf8e2b94e272eb762270d1615e3b83f0d2e6;hpb=b74fd339e942f438e288f9e26cca404a5a430925;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index 596bcf8..d3318a1 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -46,7 +46,7 @@ CANCommandHandler::CANCommandHandler(CCECBusDevice *busDevice) : bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) { - if (m_processor->IsStarted() && command.parameters.size > 0) + if (m_processor->IsRunning() && command.parameters.size > 0) { cec_keypress key; key.duration = CEC_BUTTON_TIMEOUT;