From: Lars Op den Kamp Date: Tue, 22 Jan 2013 01:13:37 +0000 (+0100) Subject: don't send two active source message sequences to philips. issue #118 X-Git-Tag: upstream/2.2.0~1^2~6^2~12 X-Git-Url: https://git.piment-noir.org/?p=deb_libcec.git;a=commitdiff_plain;h=d87c963c273d94c4c48a90bd0fc8f349e114e313 don't send two active source message sequences to philips. issue #118 --- diff --git a/src/lib/implementations/PHCommandHandler.cpp b/src/lib/implementations/PHCommandHandler.cpp index bed6b1e..7b7e3d6 100644 --- a/src/lib/implementations/PHCommandHandler.cpp +++ b/src/lib/implementations/PHCommandHandler.cpp @@ -122,7 +122,7 @@ bool CPHCommandHandler::ActivateSource(bool bTransmitDelayedCommandsOnly /* = fa { // tv sometimes ignores image view on. check the power status of the tv in 5 seconds, and retry when it failed to power up if (m_imageViewOnCheck && !m_imageViewOnCheck->IsRunning()) - m_imageViewOnCheck->CreateThread(false); + return m_imageViewOnCheck->CreateThread(false); } return CCECCommandHandler::ActivateSource(bTransmitDelayedCommandsOnly);