From 606d611f9e65434eb1b53b9a9e203e58a578bc09 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 7 Jan 2010 11:14:16 +0100 Subject: check for max sizes supported by syncbuffer --- dxr3demuxdevice.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'dxr3demuxdevice.c') 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 { -- cgit v1.2.3