summaryrefslogtreecommitdiff
path: root/dxr3demuxdevice.c
diff options
context:
space:
mode:
Diffstat (limited to 'dxr3demuxdevice.c')
-rw-r--r--dxr3demuxdevice.c4
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);