From: Chris Tallon Date: Sat, 18 Apr 2020 15:55:39 +0000 (+0100) Subject: Fixes for Windows X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=413c3f52b855453d98d6e839663a3481fa58072d;p=vompclient.git Fixes for Windows --- diff --git a/control.cc b/control.cc index b19993e..76fc49f 100644 --- a/control.cc +++ b/control.cc @@ -132,6 +132,7 @@ bool Control::init(bool tcrashed) FALLTHROUGH case 1: FALLTHROUGH + ; } return false; diff --git a/osdwinvector.cc b/osdwinvector.cc index dd48b6c..9839817 100644 --- a/osdwinvector.cc +++ b/osdwinvector.cc @@ -17,14 +17,18 @@ along with VOMP. If not, see . */ -#include + +// FIXME swap these two lines around #include "videowin.h" +#include + #include "surfacewin.h" #include "message.h" #include "messagequeue.h" #include "teletxt/txtfont.h" + #define OSD_BUFFER_WIDTH 1280 #define OSD_BUFFER_HEIGHT 720 diff --git a/winmain.cc b/winmain.cc index 1c91010..e8f692f 100644 --- a/winmain.cc +++ b/winmain.cc @@ -45,6 +45,7 @@ #include "osdwinvector.h" #endif #include "control.h" +#include "message.h" #include "messagequeue.h" void sighandler(int signalReceived); @@ -798,13 +799,6 @@ void shutdown(int code) logger->log("Core", Log::NOTICE, "Control module shut down"); } - if (vdr) - { - vdr->shutdown(); - delete vdr; - logger->log("Core", Log::NOTICE, "VDR module shut down"); - } - if (osd) { osd->shutdown();