From 8bf0451b4c0bc6b9bc4a86fb0544c09c1f9b824b Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Sat, 9 Jan 2010 20:22:33 +0100 Subject: there is no need to store the type of a buffer The type is known by the used buffer. --- dxr3demuxdevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dxr3demuxdevice.c') diff --git a/dxr3demuxdevice.c b/dxr3demuxdevice.c index 25d3225..0814488 100644 --- a/dxr3demuxdevice.c +++ b/dxr3demuxdevice.c @@ -304,7 +304,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) } else if (synchState == DXR3_DEMUX_VIDEO_SYNCHED || synchState == DXR3_DEMUX_SYNCHED) { cDxr3Interface::instance()->setDimension(pesFrame->GetHorizontalSize(), pesFrame->GetVerticalSize()); while (!Poll(100)) {} - cFixedLengthFrame* pTempFrame = vBuf.Push(pesFrame->GetPayload(), (int) (pesFrame->GetPayloadLength()), pts, ftVideo); + cFixedLengthFrame* pTempFrame = vBuf.Push(pesFrame->GetPayload(), (int) (pesFrame->GetPayloadLength()), pts); // TODO: rework me //if (!pTempFrame) /* Push Timeout */ @@ -329,7 +329,7 @@ int cDxr3DemuxDevice::DemuxPes(const uint8_t* buf, int length, bool bAc3Dts) vPts = pts; cDxr3Interface::instance()->setDimension(pesFrame->GetHorizontalSize(), pesFrame->GetVerticalSize()); - cFixedLengthFrame* pTempFrame = vBuf.Push(pesFrame->GetPayload(), (int) (pesFrame->GetPayloadLength()), pts, ftVideo); + cFixedLengthFrame* pTempFrame = vBuf.Push(pesFrame->GetPayload(), (int) (pesFrame->GetPayloadLength()), pts); // TODO: rework me //if (!pTempFrame) /* Push Timeout */ // throw (cDxr3PesFrame::PES_GENERAL_ERROR); -- cgit v1.2.3