summaryrefslogtreecommitdiff
path: root/dvbapi.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-04-07 09:48:32 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-04-07 09:48:32 +0200
commitc5fac4ed21a25dcd0364cc8d2b991871bb1db640 (patch)
tree95fbe0806a0e6c8f1f1b1b192f85b39fc9265d0a /dvbapi.c
parent3581c20976445d6213bfcf74c26cecc5cd8861af (diff)
downloadvdr-c5fac4ed21a25dcd0364cc8d2b991871bb1db640.tar.gz
vdr-c5fac4ed21a25dcd0364cc8d2b991871bb1db640.tar.bz2
Another fix to the still picture workaround
Diffstat (limited to 'dvbapi.c')
-rw-r--r--dvbapi.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dvbapi.c b/dvbapi.c
index e9e67e4e..9d59d900 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.169 2002/04/06 15:21:29 kls Exp $
+ * $Id: dvbapi.c 1.170 2002/04/07 09:35:51 kls Exp $
*/
#include "dvbapi.h"
@@ -1194,9 +1194,10 @@ void cReplayBuffer::DisplayFrame(uchar *b, int Length)
CHECK(ioctl(videoDev, VIDEO_STILLPICTURE, &sp));
#else
#define MIN_IFRAME 400000
- for (int i = MIN_IFRAME / Length + 1; i > 0; i--)
+ 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
+ usleep(1); // allows the buffer to be displayed in case the progress display is active
+ }
#endif
}