diff options
author | Lajos Molnar <lajos@google.com> | 2015-07-01 21:00:13 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-07-01 21:01:00 +0000 |
commit | dfad5454e0caf46f8732f1415d3b9a76f2a1242e (patch) | |
tree | ba10126cafdc2070d70ea39447cacb68a84201d7 /media/libstagefright/ACodec.cpp | |
parent | 49605e8ab171a2b1f474645d632d3982f5f7b8e6 (diff) | |
parent | 264bac95912efe121d6a60026612617f04f42966 (diff) | |
download | frameworks_av-dfad5454e0caf46f8732f1415d3b9a76f2a1242e.zip frameworks_av-dfad5454e0caf46f8732f1415d3b9a76f2a1242e.tar.gz frameworks_av-dfad5454e0caf46f8732f1415d3b9a76f2a1242e.tar.bz2 |
Merge "stagefright: prevent allocating stale buffers for OMX decoders" into mnc-dev
Diffstat (limited to 'media/libstagefright/ACodec.cpp')
-rw-r--r-- | media/libstagefright/ACodec.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/ACodec.cpp b/media/libstagefright/ACodec.cpp index c6e45af..7452e4b 100644 --- a/media/libstagefright/ACodec.cpp +++ b/media/libstagefright/ACodec.cpp @@ -5242,6 +5242,7 @@ void ACodec::BaseState::onOutputBufferDrained(const sp<AMessage> &msg) { if (err == OK) { info->mStatus = BufferInfo::OWNED_BY_NATIVE_WINDOW; } else { + ALOGE("queueBuffer failed in onOutputBufferDrained: %d", err); mCodec->signalError(OMX_ErrorUndefined, makeNoSideEffectStatus(err)); info->mStatus = BufferInfo::OWNED_BY_US; // keeping read fence as write fence to avoid clobbering |