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 /dxr3demuxdevice.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 'dxr3demuxdevice.c')
-rw-r--r-- | dxr3demuxdevice.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c index d80316d..bed1a11 100644 --- a/dxr3demuxdevice.c +++ b/dxr3demuxdevice.c @@ -22,9 +22,8 @@ #include <stdio.h> #include <stdlib.h> #include <stdint.h> -#include <unistd.h> -#include "dxr3demuxdevice.h" #include <linux/em8300.h> +#include "dxr3demuxdevice.h" #include "dxr3pesframe.h" #include "dxr3configdata.h" @@ -348,7 +347,6 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) bPlaySuc = true; //if (bPlayedFrame) return length; bPlayedFrame = true; - //usleep(30000); // otherwise there is problem with audio (driver bug?) m_dxr3Device.SetHorizontalSize(pesFrame.GetHorizontalSize()); m_dxr3Device.SetVerticalSize(pesFrame.GetVerticalSize()); m_dxr3Device.PlayVideoFrame(pesFrame.GetEsStart(), (int) (pesFrame.GetEsLength()), m_ReUseFrame); |