diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-17 14:24:58 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2013-01-17 14:24:58 +0100 |
commit | c984204944281a4c9826e963f29d3c52b526896d (patch) | |
tree | 94b16ab03df5759c1483a4bd4f358cd0590d404e /menu.c | |
parent | 7a3f809f5c421db13df2c34e70d2fb4eb98ddb32 (diff) | |
download | vdr-c984204944281a4c9826e963f29d3c52b526896d.tar.gz vdr-c984204944281a4c9826e963f29d3c52b526896d.tar.bz2 |
Absolute jumps when replaying a recording (via the Red key) are now only performed if an actual value has been entered
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 2.73 2013/01/16 15:58:58 kls Exp $ + * $Id: menu.c 2.74 2013/01/17 14:20:08 kls Exp $ */ #include "menu.h" @@ -4716,8 +4716,10 @@ void cReplayControl::TimeSearchProcess(eKeys Key) case kPause: case kDown: case kOk: - Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds); - Goto(SecondsToFrames(Seconds, FramesPerSecond()), Key == kDown || Key == kPause || Key == kOk); + if (timeSearchPos > 0) { + Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds); + Goto(SecondsToFrames(Seconds, FramesPerSecond()), Key == kDown || Key == kPause || Key == kOk); + } timeSearchActive = false; break; default: |