summaryrefslogtreecommitdiffstats
path: root/videodecoder/VideoDecoderBase.cpp
diff options
context:
space:
mode:
authorRyan Saffores <ryan.d.saffores@intel.com>2015-03-23 09:12:58 -0700
committerThe Android Automerger <android-build@google.com>2015-03-27 15:02:06 -0700
commit0226d74dc46ccae5e678fe6617ed77a8eb995623 (patch)
tree425a84953eb1b07d95f1ea7aa9e57789d5f604b4 /videodecoder/VideoDecoderBase.cpp
parent01c9654a678d6ff08a8cbf2565bef712b402a8af (diff)
downloadandroid_hardware_intel_common_libmix-0226d74dc46ccae5e678fe6617ed77a8eb995623.tar.gz
android_hardware_intel_common_libmix-0226d74dc46ccae5e678fe6617ed77a8eb995623.tar.bz2
android_hardware_intel_common_libmix-0226d74dc46ccae5e678fe6617ed77a8eb995623.zip
libmix: fix out of order decode issue on FUGUcm-12.1
Bug: 19572523 Change-Id: I938d05f666fb40601201d06feb07793cba2ebbb5 Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com>
Diffstat (limited to 'videodecoder/VideoDecoderBase.cpp')
-rw-r--r--videodecoder/VideoDecoderBase.cpp10
1 files changed, 0 insertions, 10 deletions
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;