replayjump-ok

Message ID 43F8B1E4.9000107@arcor.de
State New
Headers

Commit Message

Christoph Haubrich Feb. 19, 2006, 5:59 p.m. UTC
  Hello list,

I was always stumbling over the behaviour of jumping in recordings (red 
button): The OK-button does not confirm the jump but aborts it which I 
think is rather unlogical.
The appended patch gives the OK-Button the same behaviour as the "down" 
and "pause" buttons, which means it jumps to the requested position and 
pauses the replay.

If no one complains I would like Klaus to integrate this patch into vdr.

Christoph
  

Patch

diff -Nur vdr-1.3.32-pre/menu.c vdr-1.3.32/menu.c
--- vdr-1.3.32-pre/menu.c	2005-09-18 13:53:30.000000000 +0200
+++ vdr-1.3.32/menu.c	2005-09-18 14:11:59.000000000 +0200
@@ -3740,8 +3740,9 @@ 
     case kUp:
     case kPause:
     case kDown:
+    case kOk:
          Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds);
-         Goto(Seconds * FRAMESPERSEC, Key == kDown || Key == kPause);
+         Goto(Seconds * FRAMESPERSEC, Key == kDown || Key == kPause || Key == kOk);
          timeSearchActive = false;
          break;
     default: