summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2015-04-15 13:38:38 -0700
committerChong Zhang <chz@google.com>2015-04-15 13:41:31 -0700
commit43cc944ecdc1634dccd92a1aad559f0caa13b53c (patch)
treec13828bb2144bbd42a3435bcfd46bb6961778e64 /media
parent7233234a32d22d2ffb63ed4e92df339458047887 (diff)
downloadframeworks_av-43cc944ecdc1634dccd92a1aad559f0caa13b53c.zip
frameworks_av-43cc944ecdc1634dccd92a1aad559f0caa13b53c.tar.gz
frameworks_av-43cc944ecdc1634dccd92a1aad559f0caa13b53c.tar.bz2
fix NuPlayerDecoder discontinuity handling with async mode
bug: 20234224 Change-Id: I317b52b089f1e1432255100ef5f36322a231a399
Diffstat (limited to 'media')
-rw-r--r--media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp b/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
index 3fff1e6..d521c64 100644
--- a/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
+++ b/media/libmediaplayerservice/nuplayer/NuPlayerDecoder.cpp
@@ -463,10 +463,6 @@ bool NuPlayer::Decoder::handleAnOutputBuffer(
size_t size,
int64_t timeUs,
int32_t flags) {
- if (mFormatChangePending) {
- return false;
- }
-
// CHECK_LT(bufferIx, mOutputBuffers.size());
sp<ABuffer> buffer;
mCodec->getOutputBuffer(index, &buffer);