summaryrefslogtreecommitdiff
path: root/dvbplayer.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2005-01-14 14:08:47 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2005-01-14 14:08:47 +0100
commit0ad4b2a713d3188e54c6833fc5860109725fca0a (patch)
tree60f16a5f7f5b161919a72178e0ab4136ffbf8e2f /dvbplayer.c
parent0d596d04787086c607eedb1de3dd1d08a1db983e (diff)
downloadvdr-0ad4b2a713d3188e54c6833fc5860109725fca0a.tar.gz
vdr-0ad4b2a713d3188e54c6833fc5860109725fca0a.tar.bz2
Made cCondWait::SleepMs() sleep at least 3ms to avoid a possible busy wait
Diffstat (limited to 'dvbplayer.c')
-rw-r--r--dvbplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dvbplayer.c b/dvbplayer.c
index 0ec06810..8605268b 100644
--- a/dvbplayer.c
+++ b/dvbplayer.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbplayer.c 1.29 2004/12/26 11:45:34 kls Exp $
+ * $Id: dvbplayer.c 1.30 2005/01/14 14:00:56 kls Exp $
*/
#include "dvbplayer.h"
@@ -439,7 +439,7 @@ void cDvbPlayer::Action(void)
}
}
else
- cCondWait::SleepMs(1); // this keeps the CPU load low
+ cCondWait::SleepMs(3); // this keeps the CPU load low
}
// Store the frame in the buffer: