diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-22 10:11:59 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-06-22 10:11:59 +0200 |
commit | 7ade39597ac83a03395e86a8276fbb6dec6a6a2f (patch) | |
tree | 11cb4137aee8c97844a03efcaea242f5983d333d /menu.c | |
parent | 8a9898ea4f5d1ad71d3ab13b08484bd6ef3a72c8 (diff) | |
download | vdr-7ade39597ac83a03395e86a8276fbb6dec6a6a2f.tar.gz vdr-7ade39597ac83a03395e86a8276fbb6dec6a6a2f.tar.bz2 |
Activated cutting
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 15 |
1 files changed, 6 insertions, 9 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.197 2002/06/16 13:23:51 kls Exp $ + * $Id: menu.c 1.198 2002/06/22 09:55:58 kls Exp $ */ #include "menu.h" @@ -14,6 +14,7 @@ #include <stdlib.h> #include <string.h> #include "config.h" +#include "cutter.h" #include "eit.h" #include "i18n.h" #include "menuitems.h" @@ -2026,10 +2027,8 @@ void cMenuMain::Set(void) // Editing control: - /*XXX+ - if (cVideoCutter::Active()) + if (cCutter::Active()) Add(new cOsdItem(tr(" Cancel editing"), osCancelEdit)); - XXX*/ // Color buttons: @@ -2063,7 +2062,7 @@ eOSState cMenuMain::ProcessKey(eKeys Key) } break; case osCancelEdit: if (Interface->Confirm(tr("Cancel editing?"))) { - //XXX+cVideoCutter::Stop(); + cCutter::Stop(); return osEnd; } break; @@ -2973,11 +2972,10 @@ void cReplayControl::MarkMove(bool Forward) void cReplayControl::EditCut(void) { - /*XXX+ if (fileName) { Hide(); - if (!cVideoCutter::Active()) { - if (!cVideoCutter::Start(fileName)) + if (!cCutter::Active()) { + if (!cCutter::Start(fileName)) Interface->Error(tr("Can't start editing process!")); else Interface->Info(tr("Editing process started")); @@ -2986,7 +2984,6 @@ void cReplayControl::EditCut(void) Interface->Error(tr("Editing process already active!")); ShowMode(); } - XXX*/ } void cReplayControl::EditTest(void) |