cec: let CCECProcessor replace the command handlers
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 1ea78d72fdf0d6418b9cd3d22f1903b479d770a1..824e56154cfe25eb595ec598952d06d87af515fd 100644 (file)
@@ -92,7 +92,6 @@ bool CCECBusDevice::HandleCommand(const cec_command &command)
   }
 
   /* handle the command */
-  ReplaceHandler(true);
   bHandled = m_handler->HandleCommand(command);
 
   /* change status to present */
@@ -844,7 +843,6 @@ void CCECBusDevice::SetUnsupportedFeature(cec_opcode opcode)
 bool CCECBusDevice::InitHandler(void)
 {
   CLockObject lock(&m_mutex);
-  ReplaceHandler(false);
   return m_handler->InitHandler();
 }