diff options
Diffstat (limited to 'videodecoder/VideoDecoderBase.cpp')
-rw-r--r-- | videodecoder/VideoDecoderBase.cpp | 10 |
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; |