summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-06 11:08:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-06 11:08:54 +0200
commit7babc1034e9afbcfe5997e0d847faba938cfde7f (patch)
tree85075219ffa0dc4fbb0cfed4d4f3f46d5dfaafb0
parent3985f8dd499bfb16545dbcdc4e3bb1a6a736eb84 (diff)
downloadvdr-7babc1034e9afbcfe5997e0d847faba938cfde7f.tar.gz
vdr-7babc1034e9afbcfe5997e0d847faba938cfde7f.tar.bz2
Fixed the still picture workaround in case the progress display is active
-rw-r--r--HISTORY1
-rw-r--r--dvbapi.c3
2 files changed, 3 insertions, 1 deletions
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
}