diff options
author | Andreas Huber <andih@google.com> | 2010-02-22 14:58:45 -0800 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2010-02-22 14:58:45 -0800 |
commit | b8de9578dcb672d92b407d7a24c77af13f85c353 (patch) | |
tree | c271c7938f29469eeb4f1e27e444985669488316 /include | |
parent | 7e31e0c351a3b2bb70ee5507b34f1c72d62b56d7 (diff) | |
download | frameworks_base-b8de9578dcb672d92b407d7a24c77af13f85c353.zip frameworks_base-b8de9578dcb672d92b407d7a24c77af13f85c353.tar.gz frameworks_base-b8de9578dcb672d92b407d7a24c77af13f85c353.tar.bz2 |
This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk.
related-to-bug: 2281327
Diffstat (limited to 'include')
-rw-r--r-- | include/media/stagefright/OMXCodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h index f8bc7ab..974075d 100644 --- a/include/media/stagefright/OMXCodec.h +++ b/include/media/stagefright/OMXCodec.h @@ -96,6 +96,7 @@ private: kRequiresFlushBeforeShutdown = 64, kDefersOutputBufferAllocation = 128, kDecoderLiesAboutNumberOfChannels = 256, + kInputBufferSizesAreBogus = 512, }; struct BufferInfo { |