summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-06-23 11:23:34 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-06-23 11:23:34 +0200
commitcd030554e53f8161b4944d14da78756f908de6c4 (patch)
tree206e1649d3d0ff6752dd13c485a004ca1fcb5d47 /menu.c
parent0bb9a1a77b866b79b73fc71e9863e7da5fc57c56 (diff)
downloadvdr-cd030554e53f8161b4944d14da78756f908de6c4.tar.gz
vdr-cd030554e53f8161b4944d14da78756f908de6c4.tar.bz2
Switched VDR's own player to the new cPlayer/cControl structures
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/menu.c b/menu.c
index 338838ec..2a5f2fee 100644
--- a/menu.c
+++ b/menu.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: menu.c 1.200 2002/06/23 09:09:11 kls Exp $
+ * $Id: menu.c 1.201 2002/06/23 11:07:19 kls Exp $
*/
#include "menu.h"
@@ -2681,18 +2681,14 @@ char *cReplayControl::fileName = NULL;
char *cReplayControl::title = NULL;
cReplayControl::cReplayControl(void)
+:cDvbPlayerControl(fileName)
{
visible = modeOnly = shown = displayFrames = false;
lastCurrent = lastTotal = -1;
timeoutShow = 0;
timeSearchActive = false;
- if (fileName) {
- marks.Load(fileName);
- if (!Start(fileName))
- Interface->Error(tr("Channel locked (recording)!"));//XXX+
- else
- cStatus::MsgReplaying(this, fileName);
- }
+ marks.Load(fileName);
+ cStatus::MsgReplaying(this, fileName);
}
cReplayControl::~cReplayControl()