From: Lars Op den Kamp Date: Thu, 10 Nov 2011 17:30:00 +0000 (+0100) Subject: cec: always start in standby mode and let the tv (or other device) send the power... X-Git-Tag: upstream/2.2.0~1^2~68 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=1a6c6a8ddde4f5db0f687c2fa236354ddb019c9c;p=deb_libcec.git cec: always start in standby mode and let the tv (or other device) send the power on command --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index 0759258..1ca2dfe 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -156,7 +156,7 @@ bool CCECProcessor::TryLogicalAddress(cec_logical_address address, unsigned int m_busDevices[address]->m_strDeviceName = m_strDeviceName; m_busDevices[address]->m_bActiveSource = true; } - m_busDevices[address]->m_powerStatus = (m_types[0] == m_busDevices[address]->m_type) ? CEC_POWER_STATUS_ON : CEC_POWER_STATUS_STANDBY; + m_busDevices[address]->m_powerStatus = CEC_POWER_STATUS_STANDBY; m_busDevices[address]->m_cecVersion = CEC_VERSION_1_3A; m_logicalAddresses.set(address);