cec: don't replace handlers when not initialised, or the primary device's logical...
[deb_libcec.git] / src / lib / devices / CECBusDevice.cpp
index 61af7019f3147691a76acfd71ab66033e157c77e..3577518a95305bb7fa0574968d95e696841f3465 100644 (file)
@@ -834,4 +834,16 @@ bool CCECBusDevice::ActivateSource(void)
   return m_handler->ActivateSource();
 }
 
+void CCECBusDevice::HandlePoll(cec_logical_address destination)
+{
+  CLockObject lock(m_handlerMutex);
+  m_handler->HandlePoll(m_iLogicalAddress, destination);
+}
+
+bool CCECBusDevice::HandleReceiveFailed(void)
+{
+  CLockObject lock(m_handlerMutex);
+  return m_handler->HandleReceiveFailed();
+}
+
 //@}