diff --git a/PLUGINS/src/pictures/HISTORY b/PLUGINS/src/pictures/HISTORY index 13986bd3..ff22c538 100644 --- a/PLUGINS/src/pictures/HISTORY +++ b/PLUGINS/src/pictures/HISTORY @@ -116,3 +116,7 @@ VDR Plugin 'pictures' Revision History 2021-12-27: Version 2.6.0 - Official release. + +2022-12-05: Version 2.6.1 + +Fixed initializing cPictureControl. diff --git a/PLUGINS/src/pictures/pictures.c b/PLUGINS/src/pictures/pictures.c index ac8c355b..afac1eee 100644 --- a/PLUGINS/src/pictures/pictures.c +++ b/PLUGINS/src/pictures/pictures.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: pictures.c 4.3 2018/04/10 13:00:42 kls Exp $ + * $Id: pictures.c 5.1 2022/12/05 15:26:23 kls Exp $ */ #include @@ -11,7 +11,7 @@ #include "menu.h" #include "player.h" -static const char *VERSION = "2.4.0"; +static const char *VERSION = "2.6.1"; static const char *DESCRIPTION = trNOOP("A simple picture viewer"); static const char *MAINMENUENTRY = trNOOP("Pictures"); diff --git a/PLUGINS/src/pictures/player.c b/PLUGINS/src/pictures/player.c index d2dbd7b8..e3efdb39 100644 --- a/PLUGINS/src/pictures/player.c +++ b/PLUGINS/src/pictures/player.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: player.c 3.1 2014/02/08 12:48:12 kls Exp $ + * $Id: player.c 5.1 2022/12/05 15:26:23 kls Exp $ */ #include "player.h" @@ -96,8 +96,10 @@ int cPictureControl::active = 0; cString cPictureControl::lastDisplayed; cPictureControl::cPictureControl(cPictureEntry *Pictures, const cPictureEntry *PictureEntry, bool SlideShow) -:cControl(player = new cPicturePlayer) +:cControl(NULL) { + player = new cPicturePlayer; + SetPlayer(player); pictures = Pictures; pictureEntry = PictureEntry; osd = NULL;