summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-03 11:30:41 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-11-03 13:08:07 +0100
commit7300fdf91c07932a1360a2cdc211d83867524684 (patch)
tree1c7256bca13f0e1830a2eef24a3e0f0904d1f8b8 /config.c
parent89e9086943f394f189c270f26e36f394e695e051 (diff)
downloadvdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.gz
vdr-plugin-tvguide-7300fdf91c07932a1360a2cdc211d83867524684.tar.bz2
Workaround for HWAccelerated OSD
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.c b/config.c
index 56eb831..532d842 100644
--- a/config.c
+++ b/config.c
@@ -2,6 +2,7 @@
#include "config.h"
cTVGuideConfig::cTVGuideConfig() {
+ useHWAccel = false;
debugImageLoading = 0;
showMainMenuEntry = 1;
replaceOriginalSchedule = 0;
@@ -243,6 +244,7 @@ cString cTVGuideConfig::checkSlashAtEnd(std::string path) {
bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
if (strcmp(Name, "timeFormat") == 0) timeFormat = atoi(Value);
else if (strcmp(Name, "debugImageLoading") == 0) debugImageLoading = atoi(Value);
+ else if (strcmp(Name, "useHWAccel") == 0) useHWAccel = atoi(Value);
else if (strcmp(Name, "showMainMenuEntry") == 0) showMainMenuEntry = atoi(Value);
else if (strcmp(Name, "replaceOriginalSchedule") == 0) replaceOriginalSchedule = atoi(Value);
else if (strcmp(Name, "useNopacityTheme") == 0) useNopacityTheme = atoi(Value);