From: Marten Richter Date: Sun, 24 Nov 2013 13:28:15 +0000 (+0100) Subject: Reactivate remote reintialization in videoomx and purge power events in changepowerstate X-Git-Tag: 0-4-1~1^2~3 X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=7abb2e355d86c592f14d998e47e3594cce0d8a1b;p=vompclient.git Reactivate remote reintialization in videoomx and purge power events in changepowerstate --- diff --git a/remotelinux.cc b/remotelinux.cc index dd54fa4..c054127 100644 --- a/remotelinux.cc +++ b/remotelinux.cc @@ -895,9 +895,11 @@ void RemoteLinux::changePowerState(bool poweron){ if (poweron) { //Log::getInstance()->log("Remote", Log::DEBUG, "CEC set active source" ); //cec_adap->SetActiveSource(); + haspower=false; } else { //Log::getInstance()->log("Remote", Log::DEBUG, "CEC set inactive view" ); //cec_adap->SetInactiveView(); + haspower=false; //clear stuff } } } diff --git a/videoomx.cc b/videoomx.cc index e91b8ea..fd8a133 100644 --- a/videoomx.cc +++ b/videoomx.cc @@ -660,9 +660,9 @@ int VideoOMX::signalOff() //TODO reinit osd Log::getInstance()->log("Video", Log::NOTICE, "signalOff"); Osd::getInstance()->stopUpdate(); // turn off drawing thread - //Remote::getInstance()->shutdown(); + Remote::getInstance()->shutdown(); vc_tv_power_off(); - //Remote::getInstance()->init(""); + Remote::getInstance()->init(""); signalon=false; return 1; }