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 /dxr3outputthread.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 'dxr3outputthread.c')
-rw-r--r-- | dxr3outputthread.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dxr3outputthread.c b/dxr3outputthread.c index b934d58..81c6a3d 100644 --- a/dxr3outputthread.c +++ b/dxr3outputthread.c @@ -20,7 +20,6 @@ */ #include <stdio.h> -#include <unistd.h> #include <time.h> #include "dxr3outputthread.h" @@ -117,7 +116,7 @@ void cDxr3AudioOutThread::Action() if ((pts > SCR && abs((int)pts - (int)SCR) > AUDIO_OFFSET)) { - usleep(10000); + cCondWait::SleepMs(10); } } } @@ -199,7 +198,7 @@ void cDxr3VideoOutThread::Action() if ((pts > SCR && abs((int)pts - (int)SCR) > 7500 )) { - usleep(10000); + cCondWait::SleepMs(10); } } } |