Fixed initializing cDvbPlayerControl (was broken in version 2.6.3)

This commit is contained in:
Klaus Schmidinger 2022-12-27 15:57:20 +01:00
parent a0f79bdd5f
commit 42b584e38d
2 changed files with 3 additions and 2 deletions

View File

@ -9842,3 +9842,4 @@ Video Disk Recorder Revision History
- Added a note to epg.h about not messing with event ids (suggested by Winfried Köhler). - Added a note to epg.h about not messing with event ids (suggested by Winfried Köhler).
- Added a note to vdr.5 about event ids possibly changing when an event moves from - Added a note to vdr.5 about event ids possibly changing when an event moves from
one table to another. one table to another.
- Fixed initializing cDvbPlayerControl (was broken in version 2.6.3).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: dvbplayer.c 5.2 2022/12/05 14:45:51 kls Exp $ * $Id: dvbplayer.c 5.3 2022/12/27 15:57:20 kls Exp $
*/ */
#include "dvbplayer.h" #include "dvbplayer.h"
@ -981,7 +981,7 @@ bool cDvbPlayer::GetReplayMode(bool &Play, bool &Forward, int &Speed)
// --- cDvbPlayerControl ----------------------------------------------------- // --- cDvbPlayerControl -----------------------------------------------------
cDvbPlayerControl::cDvbPlayerControl(const char *FileName, bool PauseLive) cDvbPlayerControl::cDvbPlayerControl(const char *FileName, bool PauseLive)
:cControl(NULL, PauseLive) :cControl(NULL)
{ {
player = new cDvbPlayer(FileName, PauseLive); player = new cDvbPlayer(FileName, PauseLive);
SetPlayer(player); SetPlayer(player);