summaryrefslogtreecommitdiff
path: root/dvbdevice.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-10-24 11:12:05 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2004-10-24 11:12:05 +0200
commit9f51fcad223572c459e7fc0705dfba44da38aaad (patch)
tree35dd9798d445f3c9b9a67542a1ed70d754564393 /dvbdevice.c
parent70e60380562fb25a7acce9b47c75842d60722dd0 (diff)
downloadvdr-9f51fcad223572c459e7fc0705dfba44da38aaad.tar.gz
vdr-9f51fcad223572c459e7fc0705dfba44da38aaad.tar.bz2
Added cCondWait::Sleep() and using it to replace all usleep() calls
Diffstat (limited to 'dvbdevice.c')
-rw-r--r--dvbdevice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbdevice.c b/dvbdevice.c
index bfe2aaf6..3f38a0a4 100644
--- a/dvbdevice.c
+++ b/dvbdevice.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbdevice.c 1.99 2004/10/24 08:50:15 kls Exp $
+ * $Id: dvbdevice.c 1.100 2004/10/24 11:06:37 kls Exp $
*/
#include "dvbdevice.h"
@@ -1075,7 +1075,7 @@ void cDvbDevice::StillPicture(const uchar *Data, int Length)
#define MIN_IFRAME 400000
for (int i = MIN_IFRAME / Length + 1; i > 0; i--) {
safe_write(fd_video, Data, Length);
- usleep(1); // allows the buffer to be displayed in case the progress display is active
+ cCondWait::SleepMs(1); // allows the buffer to be displayed in case the progress display is active
}
#endif
}