mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed initializing cPictureControl
This commit is contained in:
parent
4336b55f4e
commit
548a33c728
@ -116,3 +116,7 @@ VDR Plugin 'pictures' Revision History
|
|||||||
2021-12-27: Version 2.6.0
|
2021-12-27: Version 2.6.0
|
||||||
|
|
||||||
- Official release.
|
- Official release.
|
||||||
|
|
||||||
|
2022-12-05: Version 2.6.1
|
||||||
|
|
||||||
|
Fixed initializing cPictureControl.
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* 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 <getopt.h>
|
#include <getopt.h>
|
||||||
@ -11,7 +11,7 @@
|
|||||||
#include "menu.h"
|
#include "menu.h"
|
||||||
#include "player.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 *DESCRIPTION = trNOOP("A simple picture viewer");
|
||||||
static const char *MAINMENUENTRY = trNOOP("Pictures");
|
static const char *MAINMENUENTRY = trNOOP("Pictures");
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* 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"
|
#include "player.h"
|
||||||
@ -96,8 +96,10 @@ int cPictureControl::active = 0;
|
|||||||
cString cPictureControl::lastDisplayed;
|
cString cPictureControl::lastDisplayed;
|
||||||
|
|
||||||
cPictureControl::cPictureControl(cPictureEntry *Pictures, const cPictureEntry *PictureEntry, bool SlideShow)
|
cPictureControl::cPictureControl(cPictureEntry *Pictures, const cPictureEntry *PictureEntry, bool SlideShow)
|
||||||
:cControl(player = new cPicturePlayer)
|
:cControl(NULL)
|
||||||
{
|
{
|
||||||
|
player = new cPicturePlayer;
|
||||||
|
SetPlayer(player);
|
||||||
pictures = Pictures;
|
pictures = Pictures;
|
||||||
pictureEntry = PictureEntry;
|
pictureEntry = PictureEntry;
|
||||||
osd = NULL;
|
osd = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user