1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Increased the usleep value in cDvbOsd::Cmd() to 5000 in order to work on systems with the KURT/utime-patch

This commit is contained in:
Klaus Schmidinger 2001-07-24 16:26:58 +02:00
parent 1d6fc3e1f6
commit ab1275798e
2 changed files with 7 additions and 5 deletions

View File

@ -573,3 +573,5 @@ Video Disk Recorder Revision History
2001-07-24: Version 0.85 2001-07-24: Version 0.85
- Added Norwegian language texts (thanks to Jørgen Tvedt). - 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).

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and * See the main source file 'vdr.c' for copyright information and
* how to reach the author. * 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" #include "dvbosd.h"
@ -349,7 +349,7 @@ void cDvbOsd::Cmd(OSD_Command cmd, int color, int x0, int y0, int x1, int y1, co
sigfillset(&set); sigfillset(&set);
sigprocmask(SIG_BLOCK, &set, &oldset); sigprocmask(SIG_BLOCK, &set, &oldset);
ioctl(videoDev, OSD_SEND_CMD, &dc); ioctl(videoDev, OSD_SEND_CMD, &dc);
usleep(10); // XXX Workaround for a driver bug (cInterface::DisplayChannel() displayed texts at wrong places 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 and sometimes the OSD was no longer displayed).
// XXX Increase the value if the problem still persists on your particular system. // 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. // TODO Check if this is still necessary with driver versions after 0.7.