diff options
-rw-r--r-- | HISTORY | 7 | ||||
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | imagemagickwrapper.c | 1 | ||||
-rw-r--r-- | skinnopacity.c | 6 |
4 files changed, 14 insertions, 3 deletions
@@ -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 @@ -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; } |