diff options
author | scop <scop> | 2007-01-28 16:51:15 +0000 |
---|---|---|
committer | scop <scop> | 2007-01-28 16:51:15 +0000 |
commit | a3f259961e39e7820b3b634208b2f0bcb8507920 (patch) | |
tree | 1b0b249b0e0751d000c2ecda5d47fd388681df69 /dxr3syncbuffer.c | |
parent | 43dde98aaf45f80682439f89685c1495e4f9d10a (diff) | |
download | vdr-plugin-dxr3-a3f259961e39e7820b3b634208b2f0bcb8507920.tar.gz vdr-plugin-dxr3-a3f259961e39e7820b3b634208b2f0bcb8507920.tar.bz2 |
Use cCondWait::SleepMs() instead of usleep().
Diffstat (limited to 'dxr3syncbuffer.c')
-rw-r--r-- | dxr3syncbuffer.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dxr3syncbuffer.c b/dxr3syncbuffer.c index e930744..275a801 100644 --- a/dxr3syncbuffer.c +++ b/dxr3syncbuffer.c @@ -25,7 +25,6 @@ sufficient control algorithm is implemented */ -#include <unistd.h> #include <sys/time.h> #include "dxr3syncbuffer.h" @@ -376,7 +375,7 @@ void cDxr3SyncBuffer::WaitForSysClock(uint32_t pts, uint32_t delta) } else { - usleep(1); //* (pts - pSysClock->GetSysClock())); + cCondWait::SleepMs(3); //* (pts - pSysClock->GetSysClock())); } } @@ -391,7 +390,7 @@ void cDxr3SyncBuffer::WaitForNextPut(void) } else { - usleep(1); + cCondWait::SleepMs(3); } } |