summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-07 16:39:18 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-07 16:39:18 +0200
commit92d0bb8fccaa7193c7d4da0e51da11dd010d17a9 (patch)
treea6082a3ecf0c50d3517fa64f96b38e4e11845681 /menu.c
parenta57bcf4240e4cb212d237dce4560f478b7ecd4f5 (diff)
downloadvdr-92d0bb8fccaa7193c7d4da0e51da11dd010d17a9.tar.gz
vdr-92d0bb8fccaa7193c7d4da0e51da11dd010d17a9.tar.bz2
Suppressing replay progress display when replaying a DVD
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/menu.c b/menu.c
index e25b2304..a8f51da2 100644
--- a/menu.c
+++ b/menu.c
@@ -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)