From 414debf659d8b7d87cfae492ce52d0cfe2ee7935 Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Fri, 27 Apr 2012 16:09:22 +0200 Subject: [PATCH] cec: set the power status to 'on' of a device that requests the currently active source --- src/lib/implementations/CECCommandHandler.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 82110bc..dc8c70f 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -440,6 +440,7 @@ bool CCECCommandHandler::HandleRequestActiveSource(const cec_command &command) if (m_processor->IsRunning()) { CLibCEC::AddLog(CEC_LOG_DEBUG, ">> %i requests active source", (uint8_t) command.initiator); + m_processor->m_busDevices[command.initiator]->SetPowerStatus(CEC_POWER_STATUS_ON); vector devices; for (size_t iDevicePtr = 0; iDevicePtr < GetMyDevices(devices); iDevicePtr++) -- 2.34.1