Fixed updating the elapsed/remaining time in the progress display during fast forward/rewind

This commit is contained in:
Klaus Schmidinger 2017-01-09 14:52:57 +01:00
parent 196f2af596
commit 6773ab35d2
2 changed files with 4 additions and 2 deletions

View File

@ -8896,3 +8896,5 @@ Video Disk Recorder Revision History
- Fixed a flaw in handling timeouts for encrypted channels.
- The mechanism of trying different CAMs when switching to an encrypted channel is
now only triggered if there acually is more than one CAM in the system.
- Fixed updating the elapsed/remaining time in the progress display during fast
forward/rewind.

4
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 4.19 2016/12/22 11:00:13 kls Exp $
* $Id: menu.c 4.20 2017/01/09 14:45:50 kls Exp $
*/
#include "menu.h"
@ -5584,7 +5584,7 @@ void cReplayControl::ShowMode(void)
bool cReplayControl::ShowProgress(bool Initial)
{
int Current, Total;
if (Initial || time(NULL) - lastProgressUpdate >= 1) {
if (Initial || lastSpeed != -1 || time(NULL) - lastProgressUpdate >= 1) {
if (GetFrameNumber(Current, Total) && Total > 0) {
if (!visible) {
displayReplay = Skins.Current()->DisplayReplay(modeOnly);