cec: dropped no longer needed start condition and state boolean in CCECProcessor...
[deb_libcec.git] / src / lib / implementations / ANCommandHandler.cpp
index 596bcf8e2b94e272eb762270d1615e3b83f0d2e6..d3318a18dff928d103c86da4b586f8bc4247dc1c 100644 (file)
@@ -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;