From: Marten Richter Date: Sat, 30 Nov 2013 09:54:42 +0000 (+0100) Subject: Active set active source in changePowerState of Remote linux X-Git-Tag: 0-4-1~1^2~2 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=30e68c9d03d1075463adcd28ca1a79e0ad8ea00f;p=vompclient.git Active set active source in changePowerState of Remote linux --- 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 } }