From ff2f39b440b0f0c2f2bb64ec17583b8c44c51ff9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 13 Jan 2015 09:55:37 +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 8ee10260..78afe620 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -3215,3 +3215,7 @@ Mariusz Bialonczyk Christian Winkler for reporting a problem with transfer mode on full featured DVB cards for encrypted channels that have no audio pid + +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 85187f91..41528608 100644 --- a/HISTORY +++ b/HISTORY @@ -7916,8 +7916,10 @@ 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(). -2014-04-13: Version 2.0.7 +2015-01-13: Version 2.0.7 - Fixed a possible division by zero in frame rate detection. - Fixed a bug in the Makefile when installing plugins with LCLBLD=1 (thanks to Stefan Huelswitt). +- 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 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;