summaryrefslogtreecommitdiff
path: root/dxr3demuxdevice.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2010-01-07 11:14:16 +0100
committerChristian Gmeiner <christian.gmeiner@gmail.com>2010-01-07 11:14:16 +0100
commit606d611f9e65434eb1b53b9a9e203e58a578bc09 (patch)
tree527ae9486fee3e2f0dacf28762e16ab9e59964b9 /dxr3demuxdevice.c
parent3b6d4e38df74ab2573bb0fa1a4020be7dea35b2d (diff)
downloadvdr-plugin-dxr3-606d611f9e65434eb1b53b9a9e203e58a578bc09.tar.gz
vdr-plugin-dxr3-606d611f9e65434eb1b53b9a9e203e58a578bc09.tar.bz2
check for max sizes supported by syncbuffer
Diffstat (limited to 'dxr3demuxdevice.c')
-rw-r--r--dxr3demuxdevice.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c
index 26380f7..a0b7325 100644
--- a/dxr3demuxdevice.c
+++ b/dxr3demuxdevice.c
@@ -214,10 +214,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts)
if (!pesFrame || !pesFrame->parse(buf, length)) {
return -1;
}
-/*TODO: add to pes parser
- if (pesFrame.GetPayloadLength() > (uint32_t) VIDEO_MAX_FRAME_SIZE) {
- throw (cDxr3PesFrame::PES_GENERAL_ERROR);
- };*/
+
if (pesFrame->GetPts() != lastPts) {
pts = lastPts = pesFrame->GetPts();
} else {