From: Lars Op den Kamp Date: Fri, 14 Oct 2011 00:10:39 +0000 (+0200) Subject: cec: don't call SetActiveView() when reporting the power status. fixes loop which... X-Git-Tag: upstream/2.2.0~1^2~236 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=a75a882fccb18fcf74d8df3a9306eb78cfeca619;p=deb_libcec.git cec: don't call SetActiveView() when reporting the power status. fixes loop which causes some TVs to report failed connections --- diff --git a/src/lib/CECProcessor.cpp b/src/lib/CECProcessor.cpp index d71a963..93f11e6 100644 --- a/src/lib/CECProcessor.cpp +++ b/src/lib/CECProcessor.cpp @@ -528,7 +528,6 @@ void CCECProcessor::ParseCommand(cec_command &command) break; case CEC_OPCODE_GIVE_DEVICE_POWER_STATUS: ReportPowerState(command.initiator); - SetActiveView(); break; case CEC_OPCODE_GET_CEC_VERSION: ReportCECVersion(command.initiator);