From 30e68c9d03d1075463adcd28ca1a79e0ad8ea00f Mon Sep 17 00:00:00 2001 From: Marten Richter Date: Sat, 30 Nov 2013 10:54:42 +0100 Subject: [PATCH] Active set active source in changePowerState of Remote linux --- remotelinux.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remotelinux.cc b/remotelinux.cc index c054127..2929dee 100644 --- a/remotelinux.cc +++ b/remotelinux.cc @@ -894,11 +894,11 @@ void RemoteLinux::changePowerState(bool poweron){ if (cec_adap) { if (poweron) { //Log::getInstance()->log("Remote", Log::DEBUG, "CEC set active source" ); - //cec_adap->SetActiveSource(); + cec_adap->SetActiveSource(cec_config.deviceTypes[0]); haspower=false; } else { //Log::getInstance()->log("Remote", Log::DEBUG, "CEC set inactive view" ); - //cec_adap->SetInactiveView(); + cec_adap->SetInactiveView(); haspower=false; //clear stuff } } -- 2.39.5