From 7babc1034e9afbcfe5997e0d847faba938cfde7f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 6 Apr 2002 11:08:54 +0200 Subject: [PATCH] Fixed the still picture workaround in case the progress display is active --- HISTORY | 1 + dvbapi.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/HISTORY b/HISTORY index 6586837c..e401707f 100644 --- a/HISTORY +++ b/HISTORY @@ -1179,3 +1179,4 @@ Video Disk Recorder Revision History - Added Spanish language texts (thanks to Ruben Nunez Francisco). - Fixed resetting the "First day" timer parameter once the timer actually starts recording. +- Fixed the still picture workaround in case the progress display is active. diff --git a/dvbapi.c b/dvbapi.c index d9906189..aea8f958 100644 --- a/dvbapi.c +++ b/dvbapi.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbapi.c 1.166 2002/03/29 11:32:47 kls Exp $ + * $Id: dvbapi.c 1.167 2002/04/06 11:08:54 kls Exp $ */ #include "dvbapi.h" @@ -1196,6 +1196,7 @@ void cReplayBuffer::DisplayFrame(uchar *b, int Length) #define MIN_IFRAME 400000 for (int i = MIN_IFRAME / Length + 1; i > 0; i--) safe_write(videoDev, b, Length); + usleep(10000); // allows the buffer to be displayed in case the progress display is active #endif }