summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-09-09 12:52:41 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-09-09 12:52:41 +0200
commitde45b51473daaa313dda61d4d86c3fb970d51cd8 (patch)
tree2c7473b4915f1f77085dc9e9a67528c963ee0133 /menu.c
parent9d509c37e712974d653b8ccd2ceddfda7c9cccfe (diff)
downloadvdr-de45b51473daaa313dda61d4d86c3fb970d51cd8.tar.gz
vdr-de45b51473daaa313dda61d4d86c3fb970d51cd8.tar.bz2
Implemented 'Multi Speed Mode'
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 7036249b..5e582777 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.116 2001/09/08 14:39:09 kls Exp $
+ * $Id: menu.c 1.117 2001/09/08 15:05:16 kls Exp $
*/
#include "menu.h"
@@ -1725,6 +1725,7 @@ void cMenuSetup::Set(void)
Add(new cMenuEditIntItem( tr("MaxVideoFileSize"), &data.MaxVideoFileSize, MINVIDEOFILESIZE, MAXVIDEOFILESIZE));
Add(new cMenuEditIntItem( tr("MinEventTimeout"), &data.MinEventTimeout));
Add(new cMenuEditIntItem( tr("MinUserInactivity"), &data.MinUserInactivity));
+ Add(new cMenuEditBoolItem(tr("MultiSpeedMode"), &data.MultiSpeedMode));
}
eOSState cMenuSetup::ProcessKey(eKeys Key)
@@ -2637,8 +2638,10 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
case kUp: dvbApi->Play(); break;
case kDown: dvbApi->Pause(); break;
case kLeft|k_Release:
+ if (Setup.MultiSpeedMode) break;
case kLeft: dvbApi->Backward(); break;
case kRight|k_Release:
+ if (Setup.MultiSpeedMode) break;
case kRight: dvbApi->Forward(); break;
case kRed: TimeSearch(); break;
case kGreen|k_Repeat: