summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY2
-rw-r--r--dvbosd.c10
2 files changed, 7 insertions, 5 deletions
diff --git a/HISTORY b/HISTORY
index 77336be9..0df2378e 100644
--- a/HISTORY
+++ b/HISTORY
@@ -573,3 +573,5 @@ Video Disk Recorder Revision History
2001-07-24: Version 0.85
- Added Norwegian language texts (thanks to Jørgen Tvedt).
+- Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on
+ systems with the KURT/utime-patch (thanks to Guido Fiala).
diff --git a/dvbosd.c b/dvbosd.c
index c05dcb85..90ac067d 100644
--- a/dvbosd.c
+++ b/dvbosd.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbosd.c 1.9 2001/07/22 11:48:54 kls Exp $
+ * $Id: dvbosd.c 1.10 2001/07/24 16:25:34 kls Exp $
*/
#include "dvbosd.h"
@@ -349,10 +349,10 @@ void cDvbOsd::Cmd(OSD_Command cmd, int color, int x0, int y0, int x1, int y1, co
sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, &oldset);
ioctl(videoDev, OSD_SEND_CMD, &dc);
- usleep(10); // XXX Workaround for a driver bug (cInterface::DisplayChannel() displayed texts at wrong places
- // XXX and sometimes the OSD was no longer displayed).
- // XXX Increase the value if the problem still persists on your particular system.
- // TODO Check if this is still necessary with driver versions after 0.7.
+ usleep(5000); // XXX Workaround for a driver bug (cInterface::DisplayChannel() displayed texts at wrong places
+ // XXX and sometimes the OSD was no longer displayed).
+ // XXX Increase the value if the problem still persists on your particular system.
+ // TODO Check if this is still necessary with driver versions after 0.7.
sigprocmask(SIG_SETMASK, &oldset, NULL);
}
}