summaryrefslogtreecommitdiff
path: root/dvbosd.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-07-24 16:26:58 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-07-24 16:26:58 +0200
commitab1275798e931e24682c1f38fed4084f3618b2d6 (patch)
tree082ec61eebc02161e24378f12e83224a6ae478b7 /dvbosd.c
parent1d6fc3e1f6c3bee3c3fffcfb38b2c630794c2764 (diff)
downloadvdr-ab1275798e931e24682c1f38fed4084f3618b2d6.tar.gz
vdr-ab1275798e931e24682c1f38fed4084f3618b2d6.tar.bz2
Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on systems with the KURT/utime-patch
Diffstat (limited to 'dvbosd.c')
-rw-r--r--dvbosd.c10
1 files changed, 5 insertions, 5 deletions
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);
}
}