summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY7
-rw-r--r--Makefile3
-rw-r--r--imagemagickwrapper.c1
-rw-r--r--skinnopacity.c6
4 files changed, 14 insertions, 3 deletions
diff --git a/HISTORY b/HISTORY
index 2ed2537..ab8868a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -434,3 +434,10 @@ Version 1.1.3
- added support for tvscraper again, tvscraper Version 0.2.0 needed
- fixed possible division by zero
- updated theme darkred
+
+Version 1.1.4
+
+- Some optimization for VDR >= 2.4.0
+- Update Makefile, epgsearch.h and remotetimers.h
+- Eliminate some warnings
+- Change IMAGELIB to graphicsmagick
diff --git a/Makefile b/Makefile
index 6dd42a7..54cea3d 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,8 @@
# $Id$
# External image lib to use: imagemagick, graphicsmagick
-IMAGELIB = imagemagick
+#IMAGELIB = imagemagick
+IMAGELIB = graphicsmagick
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
diff --git a/imagemagickwrapper.c b/imagemagickwrapper.c
index 782a9a9..6f14ba4 100644
--- a/imagemagickwrapper.c
+++ b/imagemagickwrapper.c
@@ -5,7 +5,6 @@
#include "imagescaler.h"
cImageMagickWrapper::cImageMagickWrapper() {
- InitializeMagick(NULL);
}
cImageMagickWrapper::~cImageMagickWrapper() {
diff --git a/skinnopacity.c b/skinnopacity.c
index 9ed34af..1492be7 100644
--- a/skinnopacity.c
+++ b/skinnopacity.c
@@ -19,7 +19,7 @@
#endif
-static const char *VERSION = "1.1.3";
+static const char *VERSION = "1.1.4";
static const char *DESCRIPTION = "'nOpacity' Skin";
static const char *MAINMENUENTRY = "nOpacity";
@@ -95,6 +95,10 @@ bool cPluginNopacity::ProcessArgs(int argc, char *argv[]) {
return true;
}
+__attribute__((constructor)) static void init(void) {
+ Magick::InitializeMagick(NULL);
+}
+
bool cPluginNopacity::Initialize(void) {
return true;
}