From 903148b5ad4315c857cbb55060420e81cd1ccf96 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Sep 2003 10:53:06 +0200 Subject: [PATCH] Added 'repeat' function keys '7' and '9' ("jump to mark") in replay mode --- CONTRIBUTORS | 1 + HISTORY | 2 ++ menu.c | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index d5319dc1..74543598 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -494,6 +494,7 @@ Oliver Endriss for reporting and helping to debug dropping out of replay mode while viewing a recording that is still going on for fixing checking for VIDEO_STREAM_S in cRemux::SetBrokenLink() + for suggesting to add 'repeat' function keys '7' and '9' Reinhard Walter Buchner for adding some satellites to 'sources.conf' diff --git a/HISTORY b/HISTORY index c6ff85ac..c95dbb6b 100644 --- a/HISTORY +++ b/HISTORY @@ -2393,3 +2393,5 @@ Video Disk Recorder Revision History not loaded (suggested by Alexander Wetzel). - Fixed checking for VIDEO_STREAM_S in cRemux::SetBrokenLink() (thanks to Oliver Endriss). +- Added 'repeat' function keys '7' and '9' ("jump to mark") in replay mode + (suggested by Oliver Endriss). diff --git a/menu.c b/menu.c index 54c07900..9f8dea4d 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.271 2003/09/06 10:26:45 kls Exp $ + * $Id: menu.c 1.272 2003/09/14 10:49:28 kls Exp $ */ #include "menu.h" @@ -3664,7 +3664,9 @@ eOSState cReplayControl::ProcessKey(eKeys Key) switch (Key) { // Editing: case kMarkToggle: MarkToggle(); break; + case kMarkJumpBack|k_Repeat: case kMarkJumpBack: MarkJump(false); break; + case kMarkJumpForward|k_Repeat: case kMarkJumpForward: MarkJump(true); break; case kMarkMoveBack|k_Repeat: case kMarkMoveBack: MarkMove(false); break;