diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-23 11:23:34 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-23 11:23:34 +0200 |
commit | cd030554e53f8161b4944d14da78756f908de6c4 (patch) | |
tree | 206e1649d3d0ff6752dd13c485a004ca1fcb5d47 /menu.c | |
parent | 0bb9a1a77b866b79b73fc71e9863e7da5fc57c56 (diff) | |
download | vdr-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.c | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -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() |