summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2015-01-13 09:55:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2015-01-13 09:55:37 +0100
commitff2f39b440b0f0c2f2bb64ec17583b8c44c51ff9 (patch)
tree15f5df7f3028a102e30d29b005f1a02cda397361 /menu.c
parenta4169ceb221b36f86c208ccb98220b09ca1c6c6f (diff)
downloadvdr-ff2f39b440b0f0c2f2bb64ec17583b8c44c51ff9.tar.gz
vdr-ff2f39b440b0f0c2f2bb64ec17583b8c44c51ff9.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 c158f02a..82647b2f 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.82.1.8 2014/02/26 11:42:28 kls Exp $
+ * $Id: menu.c 2.82.1.9 2015/01/13 09:52:59 kls Exp $
*/
#include "menu.h"
@@ -4743,7 +4743,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;