mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Fixed updating the elapsed/remaining time in the progress display during fast forward/rewind
This commit is contained in:
parent
196f2af596
commit
6773ab35d2
2
HISTORY
2
HISTORY
@ -8896,3 +8896,5 @@ Video Disk Recorder Revision History
|
|||||||
- Fixed a flaw in handling timeouts for encrypted channels.
|
- Fixed a flaw in handling timeouts for encrypted channels.
|
||||||
- The mechanism of trying different CAMs when switching to an encrypted channel is
|
- 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.
|
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
4
menu.c
@ -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 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"
|
#include "menu.h"
|
||||||
@ -5584,7 +5584,7 @@ void cReplayControl::ShowMode(void)
|
|||||||
bool cReplayControl::ShowProgress(bool Initial)
|
bool cReplayControl::ShowProgress(bool Initial)
|
||||||
{
|
{
|
||||||
int Current, Total;
|
int Current, Total;
|
||||||
if (Initial || time(NULL) - lastProgressUpdate >= 1) {
|
if (Initial || lastSpeed != -1 || time(NULL) - lastProgressUpdate >= 1) {
|
||||||
if (GetFrameNumber(Current, Total) && Total > 0) {
|
if (GetFrameNumber(Current, Total) && Total > 0) {
|
||||||
if (!visible) {
|
if (!visible) {
|
||||||
displayReplay = Skins.Current()->DisplayReplay(modeOnly);
|
displayReplay = Skins.Current()->DisplayReplay(modeOnly);
|
||||||
|
Loading…
Reference in New Issue
Block a user