diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-13 09:51:20 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2015-01-13 09:51:20 +0100 |
commit | cee82d865963bfeed3a6db9b585287a8a6729685 (patch) | |
tree | 14ea41b7de9d17176c2cec2f4d5edec6d06524f1 /menu.c | |
parent | f5bbf06b6067ff582bd7726b2f295292dea33f70 (diff) | |
download | vdr-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.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; |