From 758a9e8f240d094c4cbc2cf0be6721ff97aae1fb Mon Sep 17 00:00:00 2001 From: Ryan Saffores Date: Mon, 23 Mar 2015 09:12:58 -0700 Subject: libmix: fix out of order decode issue on FUGU Bug: 19572523 Change-Id: I938d05f666fb40601201d06feb07793cba2ebbb5 Signed-off-by: Ryan Saffores --- videodecoder/VideoDecoderBase.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'videodecoder') diff --git a/videodecoder/VideoDecoderBase.cpp b/videodecoder/VideoDecoderBase.cpp index 8c66e80..19b3c5e 100644 --- a/videodecoder/VideoDecoderBase.cpp +++ b/videodecoder/VideoDecoderBase.cpp @@ -295,9 +295,6 @@ const VideoRenderBuffer* VideoDecoderBase::getOutput(bool draining, VideoErrorBu return &(outputByPos->renderBuffer); } - // output by presentation time stamp (the smallest pts) - VideoSurfaceBuffer *outputByPts = findOutputByPts(); - VideoSurfaceBuffer *output = NULL; if (mOutputMethod == OUTPUT_BY_POC) { output = findOutputByPoc(draining); @@ -312,13 +309,6 @@ const VideoRenderBuffer* VideoDecoderBase::getOutput(bool draining, VideoErrorBu return NULL; } - if (output != outputByPts) { - // swap time stamp - uint64_t ts = output->renderBuffer.timeStamp; - output->renderBuffer.timeStamp = outputByPts->renderBuffer.timeStamp; - outputByPts->renderBuffer.timeStamp = ts; - } - if (output != outputByPos) { // remove this output from middle or end of the list VideoSurfaceBuffer *p = outputByPos; -- cgit v1.2.3