From: Lars Op den Kamp Date: Mon, 9 Dec 2013 19:21:49 +0000 (+0100) Subject: LG: newer firmwares don't send a second power status request after it's been requeste... X-Git-Tag: upstream/2.2.0~1^2~3^2~25 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e8fca5f85246f85685c814dc213f0b152295a318;p=deb_libcec.git LG: newer firmwares don't send a second power status request after it's been requested once and replied with 'standby -> on' like previous versions. send an active source message in an attempt to fix this. issue: #176 --- diff --git a/src/lib/implementations/SLCommandHandler.cpp b/src/lib/implementations/SLCommandHandler.cpp index ec12b02..73a27f5 100644 --- a/src/lib/implementations/SLCommandHandler.cpp +++ b/src/lib/implementations/SLCommandHandler.cpp @@ -232,6 +232,8 @@ void CSLCommandHandler::HandleVendorCommandPowerOn(const cec_command &command) CLockObject lock(m_SLMutex); m_bActiveSourceSent = false; } + if (device->IsActiveSource()) + ActivateSource(); } } void CSLCommandHandler::HandleVendorCommandPowerOnStatus(const cec_command &command)