summaryrefslogtreecommitdiff
path: root/dxr3demuxdevice.c
diff options
context:
space:
mode:
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 {