From cee82d865963bfeed3a6db9b585287a8a6729685 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 13 Jan 2015 09:51:20 +0100 Subject: [PATCH] Fixed jumping to an absolute position via the Red key in case replay was paused --- CONTRIBUTORS | 4 ++++ HISTORY | 4 +++- menu.c | 7 +++++-- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 40948347..b8c54ea4 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3307,3 +3307,7 @@ Stefan Schallenberg Claus Muus for adding the new parameters "Setup/Miscellaneous/Volume steps" and ".../Volume linearize" + +Dieter Ferdinand + for reporting a problem with jumping to an absolute position via the Red key in + case replay was paused diff --git a/HISTORY b/HISTORY index dec3a496..d72ed565 100644 --- a/HISTORY +++ b/HISTORY @@ -8307,7 +8307,7 @@ Video Disk Recorder Revision History - The APIVERSION has been increased to 2.0.6 due to the changes to pat.h, sdt.h and the functional modification to cFont::CreateFont(). -2015-01-12: Version 2.1.7 +2015-01-13: Version 2.1.7 - No longer logging an error message in DirSizeMB() if the given directory doesn't exist. This avoids lots of log entries in case several VDRs use the same video @@ -8353,3 +8353,5 @@ Video Disk Recorder Revision History Frank Schmirler). - Added the new parameters "Setup/Miscellaneous/Volume steps" and ".../Volume linearize" (thanks to Claus Muus). See the MANUAL for details. +- Fixed jumping to an absolute position via the Red key in case replay was paused + (reported by Dieter Ferdinand). 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;