summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-01-17 14:24:58 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2013-01-17 14:24:58 +0100
commitc984204944281a4c9826e963f29d3c52b526896d (patch)
tree94b16ab03df5759c1483a4bd4f358cd0590d404e /menu.c
parent7a3f809f5c421db13df2c34e70d2fb4eb98ddb32 (diff)
downloadvdr-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.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/menu.c b/menu.c
index b42aa4da..d7faa872 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 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: