No more replay mode display when pressing the 'Green' or 'Yellow' button

This commit is contained in:
Klaus Schmidinger 2001-09-21 15:07:38 +02:00
parent d5cc1a1a4c
commit 9309c176e9
2 changed files with 6 additions and 3 deletions

View File

@ -764,3 +764,6 @@ Video Disk Recorder Revision History
- Made VDR compile with libdvdread-0.9.1 (thanks to Andreas Schultz).
Note that you now _need_ version 0.9.1 of libdvdread to compile VDR with
DVD support!
- Several fixes to the replay mode display (thanks to Stefan Huelswitt):
no more replay mode display when pressing the "Green" or "Yellow" button
(Skip +/-60s);

6
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: menu.c 1.120 2001/09/15 10:36:31 kls Exp $
* $Id: menu.c 1.121 2001/09/21 15:01:43 kls Exp $
*/
#include "menu.h"
@ -2696,9 +2696,9 @@ eOSState cReplayControl::ProcessKey(eKeys Key)
case kRight: dvbApi->Forward(); break;
case kRed: TimeSearch(); break;
case kGreen|k_Repeat:
case kGreen: dvbApi->SkipSeconds(-60); break;
case kGreen: dvbApi->SkipSeconds(-60); DoShowMode = false; break;
case kYellow|k_Repeat:
case kYellow: dvbApi->SkipSeconds(60); break;
case kYellow: dvbApi->SkipSeconds( 60); DoShowMode = false; break;
case kBlue: Hide();
dvbApi->StopReplay();
return osEnd;