summaryrefslogtreecommitdiff
path: root/dxr3pesframe.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2010-02-02 15:26:59 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2010-02-02 15:26:59 +0100
commit009b7d2a7e16c0485d655f28a8a3594f2838a02f (patch)
treeb618080c194e1b6084994eb3efbb58600a2d3e01 /dxr3pesframe.c
parentd1ae16e9c46724dfe3be488a81e5cff3084ded99 (diff)
downloadvdr-plugin-dxr3-009b7d2a7e16c0485d655f28a8a3594f2838a02f.tar.gz
vdr-plugin-dxr3-009b7d2a7e16c0485d655f28a8a3594f2838a02f.tar.bz2
remove old buffer and a/v sync parts
Diffstat (limited to 'dxr3pesframe.c')
-rw-r--r--dxr3pesframe.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/dxr3pesframe.c b/dxr3pesframe.c
index 817c51c..c0731da 100644
--- a/dxr3pesframe.c
+++ b/dxr3pesframe.c
@@ -24,7 +24,6 @@
#include <linux/em8300.h>
#include <vdr/tools.h>
-#include "dxr3demuxdevice.h"
// ==================================
bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length)
@@ -76,14 +75,6 @@ bool cDxr3PesFrame::parse(const uint8_t *pes, uint32_t length)
m_payload = &pes[payloadStart];
m_payloadLength = length - payloadStart;
- // check for max sizes supported by syncbuffer
- if (m_pesDataType == PES_VIDEO_DATA && m_payloadLength > (uint32_t)VIDEO_MAX_FRAME_SIZE) {
- return false;
- }
- if (m_pesDataType == PES_AUDIO_DATA && m_payloadLength > (uint32_t)AUIDO_MAX_FRAME_SIZE) {
- return false;
- }
-
if (m_pesDataType == PES_VIDEO_DATA) {
// we can get some informations about the video payload