Fixed jumping to an absolute position via the Red key in case replay was paused

This commit is contained in:
Klaus Schmidinger 2015-01-13 09:51:20 +01:00
parent f5bbf06b60
commit cee82d8659
3 changed files with 12 additions and 3 deletions

View File

@ -3307,3 +3307,7 @@ Stefan Schallenberg <infos@nafets.de>
Claus Muus <email@clausmuus.de>
for adding the new parameters "Setup/Miscellaneous/Volume steps" and
".../Volume linearize"
Dieter Ferdinand <dieter.ferdinand@gmx.de>
for reporting a problem with jumping to an absolute position via the Red key in
case replay was paused

View File

@ -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).

7
menu.c
View File

@ -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;