X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FANCommandHandler.cpp;h=7c2d05906d7b4a33550edb0eb55cbfcdd129268f;hb=0b8c7eab61e750b7dd6370e7d75e2c6a0cf0da12;hp=ed4218ea96e36a9553ccf45a7beb97f3118ae6ee;hpb=eb617f35c2d0e64f752e643ce8d8756e9ee4086f;p=deb_libcec.git diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index ed4218e..7c2d059 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -50,7 +50,7 @@ CANCommandHandler::CANCommandHandler(CCECBusDevice *busDevice) : bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) { - if (m_processor->IsRunning() && command.parameters.size > 0) + if (m_processor->CECInitialised() && command.parameters.size > 0) { CCECClient *client = m_processor->GetClient(command.destination);