summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-13 09:51:20 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-13 09:51:20 +0100
commitcee82d865963bfeed3a6db9b585287a8a6729685 (patch)
tree14ea41b7de9d17176c2cec2f4d5edec6d06524f1 /menu.c
parentf5bbf06b6067ff582bd7726b2f295292dea33f70 (diff)
downloadvdr-cee82d865963bfeed3a6db9b585287a8a6729685.tar.gz
vdr-cee82d865963bfeed3a6db9b585287a8a6729685.tar.bz2
Fixed jumping to an absolute position via the Red key in case replay was paused
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/menu.c b/menu.c
index 29d581c2..c96af5ed 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 3.24 2015/01/12 14:32:17 kls Exp $
+ * $Id: menu.c 3.25 2015/01/13 09:40:59 kls Exp $
*/
#include "menu.h"
@@ -5147,7 +5147,10 @@ void cReplayControl::TimeSearchProcess(eKeys Key)
case kOk:
if (timeSearchPos > 0) {
Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds);
- Goto(SecondsToFrames(Seconds, FramesPerSecond()), Key == kDown || Key == kPause || Key == kOk);
+ bool Still = Key == kDown || Key == kPause || Key == kOk;
+ Goto(SecondsToFrames(Seconds, FramesPerSecond()), Still);
+ if (!Still)
+ Play();
}
timeSearchActive = false;
break;