cec: don't call SetActiveView() when reporting the power status. fixes loop which...
authorLars Op den Kamp <lars@opdenkamp.eu>
Fri, 14 Oct 2011 00:10:39 +0000 (02:10 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Fri, 14 Oct 2011 00:10:39 +0000 (02:10 +0200)
src/lib/CECProcessor.cpp

index d71a9634aa885fdc87e5b8b8f1827028ff7f0bc6..93f11e6fbb344354a754abb776cc378dea545ad4 100644 (file)
@@ -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);