From 4fc20180520f40fba602b8c0ad04a7eadb9ef503 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Wed, 17 Nov 2021 16:54:36 +0000 Subject: [PATCH] Some comments and remove an unneeded include --- control.cc | 3 ++- vdr.cc | 1 - videoomx.cc | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/control.cc b/control.cc index d2f61e4..8427fce 100644 --- a/control.cc +++ b/control.cc @@ -902,8 +902,9 @@ void Control::doJustConnected(VConnect* vconnect) #endif video->shutdown(); + // FIXME FIXME FIXME why do this? inputMan->shutdown(); // need on raspberry shut not do any harm, hopefully - inputMan->init(); // FIXME this breaks badly now + inputMan->init(); // Get video and osd back up with the new mode if (!strcmp(config, "PAL")) diff --git a/vdr.cc b/vdr.cc index d4d301d..6d8a953 100644 --- a/vdr.cc +++ b/vdr.cc @@ -23,7 +23,6 @@ #include "recinfo.h" #include "channel.h" #include "event.h" -#include "wol.h" #include "vdrrequestpacket.h" #include "vdrresponsepacket.h" #include "control.h" diff --git a/videoomx.cc b/videoomx.cc index a194925..c2dc0ba 100644 --- a/videoomx.cc +++ b/videoomx.cc @@ -761,9 +761,10 @@ int VideoOMX::signalOff() //TODO reinit osd LogNT::getInstance()->info(TAG, "signalOff"); Osd::getInstance()->stopUpdate(); // turn off drawing thread + // FIXME FIXME FIXME why do this? Probably to do with reinitting CEC, but should refine this InputMan::getInstance()->shutdown(); vc_tv_power_off(); - InputMan::getInstance()->init(); // FIXME + InputMan::getInstance()->init(); signalon=false; return 1; } -- 2.39.2