Absolute jumps when replaying a recording (via the Red key) are now only performed if an actual value has been entered

This commit is contained in:
Klaus Schmidinger 2013-01-17 14:24:58 +01:00
parent 7a3f809f5c
commit c984204944
3 changed files with 10 additions and 4 deletions

View File

@ -2509,6 +2509,8 @@ Ulf Kiener <webmaster@ulf-kiener.de>
for reporting a problem with audio track descriptions in the DVD plugin after a for reporting a problem with audio track descriptions in the DVD plugin after a
replay has been stopped replay has been stopped
for suggesting to add user defined key kUser0 for suggesting to add user defined key kUser0
for suggesting to perform absolute jumps when replaying a recording (via the Red key)
only if an actual value has been entered
Jörg Wendel <vdr-ml@jwendel.de> Jörg Wendel <vdr-ml@jwendel.de>
for reporting that cPlugin::Active() was called too often for reporting that cPlugin::Active() was called too often

View File

@ -7494,7 +7494,7 @@ Video Disk Recorder Revision History
use it. use it.
- Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs). - Added maximum SNR value for PCTV Systems PCTV 73ESE (thanks to Cedric Dewijs).
2013-01-16: Version 1.7.36 2013-01-17: Version 1.7.36
- Added maximum SNR value for PCTV Systems nanoStick T2 290e (thanks to Antti - Added maximum SNR value for PCTV Systems nanoStick T2 290e (thanks to Antti
Hartikainen). Hartikainen).
@ -7523,3 +7523,5 @@ Video Disk Recorder Revision History
- Fixed multiple occurrences of the same directory in the recordings list in case there - Fixed multiple occurrences of the same directory in the recordings list in case there
are directories that only differ in non-alphanumeric characters (reported by Andreas are directories that only differ in non-alphanumeric characters (reported by Andreas
Mair). Mair).
- Absolute jumps when replaying a recording (via the Red key) are now only performed
if an actual value has been entered (suggested by Ulf Kiener).

8
menu.c
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * how to reach the author.
* *
* $Id: menu.c 2.73 2013/01/16 15:58:58 kls Exp $ * $Id: menu.c 2.74 2013/01/17 14:20:08 kls Exp $
*/ */
#include "menu.h" #include "menu.h"
@ -4716,8 +4716,10 @@ void cReplayControl::TimeSearchProcess(eKeys Key)
case kPause: case kPause:
case kDown: case kDown:
case kOk: case kOk:
Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds); if (timeSearchPos > 0) {
Goto(SecondsToFrames(Seconds, FramesPerSecond()), Key == kDown || Key == kPause || Key == kOk); Seconds = min(Total - STAY_SECONDS_OFF_END, Seconds);
Goto(SecondsToFrames(Seconds, FramesPerSecond()), Key == kDown || Key == kPause || Key == kOk);
}
timeSearchActive = false; timeSearchActive = false;
break; break;
default: default: