cec: allow HDMI port changes after the physical address has been set, or it can't...
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 9 Feb 2012 12:00:35 +0000 (13:00 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 9 Feb 2012 12:00:35 +0000 (13:00 +0100)
src/lib/CECProcessor.cpp

index 204f23bea8bc741b9e785076819ff684a9ed211f..9535a21a746e7c1713c6b7b6646b36165c708f6f 100644 (file)
@@ -522,11 +522,6 @@ bool CCECProcessor::SetHDMIPort(cec_logical_address iBaseDevice, uint8_t iPort,
 {
   bool bReturn(false);
   CLockObject lock(m_mutex);
-  if (m_iPhysicalAddress != 0)
-  {
-    CLibCEC::AddLog(CEC_LOG_WARNING, "ignoring SetHDMIPort() call because a physical address is set");
-    return bReturn;
-  }
 
   m_iBaseDevice = iBaseDevice;
   m_iHDMIPort = iPort;