aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Saffores <ryan.d.saffores@intel.com>2015-03-27 17:43:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-03-27 17:43:36 +0000
commit7aa9eddb7c98edb197a7e63f48f579d4dbbe342c (patch)
tree2c13104ded830509e227fe2cb005803dc2ead0de
parent4e99b915295c77f86ffcd6769b1d4928bf4193ff (diff)
parent758a9e8f240d094c4cbc2cf0be6721ff97aae1fb (diff)
downloadlibmix-7aa9eddb7c98edb197a7e63f48f579d4dbbe342c.tar.gz
am 758a9e8f: libmix: fix out of order decode issue on FUGU
* commit '758a9e8f240d094c4cbc2cf0be6721ff97aae1fb': libmix: fix out of order decode issue on FUGU
-rw-r--r--videodecoder/VideoDecoderBase.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/videodecoder/VideoDecoderBase.cpp b/videodecoder/VideoDecoderBase.cpp
index 74670e8..291441f 100644
--- a/videodecoder/VideoDecoderBase.cpp
+++ b/videodecoder/VideoDecoderBase.cpp
@@ -294,9 +294,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);
@@ -311,13 +308,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;