diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | menu.c | 10 |
2 files changed, 7 insertions, 4 deletions
@@ -625,3 +625,4 @@ Video Disk Recorder Revision History 2001-08-07: Version 0.91 - Fixed displaying colored button texts that are too long. +- Suppressing replay progress display when replaying a DVD. @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.95 2001/08/05 16:09:41 kls Exp $ + * $Id: menu.c 1.96 2001/08/07 16:36:37 kls Exp $ */ #include "menu.h" @@ -2305,10 +2305,8 @@ void cReplayControl::ClearLastReplayed(const char *FileName) void cReplayControl::Show(int Seconds) { if (!visible) { - Interface->Open(Setup.OSDwidth, -3); - needsFastResponse = visible = true; shown = ShowProgress(true); - if (Seconds > 0) + if (shown && Seconds > 0) timeoutShow = time(NULL) + Seconds; } } @@ -2326,6 +2324,10 @@ bool cReplayControl::ShowProgress(bool Initial) int Current, Total; if (dvbApi->GetIndex(Current, Total) && Total > 0) { + if (!visible) { + Interface->Open(Setup.OSDwidth, -3); + needsFastResponse = visible = true; + } if (Initial) { Interface->Clear(); if (title) |