From: Lars Op den Kamp Date: Thu, 9 Feb 2012 12:00:35 +0000 (+0100) Subject: cec: allow HDMI port changes after the physical address has been set, or it can't... X-Git-Tag: upstream/2.2.0~1^2~35^2~129 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=0f222231da7ae281cb59631c65e522174f223643;p=deb_libcec.git cec: allow HDMI port changes after the physical address has been set, or it can't be changed anymore after libCEC has been initialised. --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 204f23b..9535a21 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -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;