summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Andreas Huber <andih@google.com> 2011-08-19 10:30:58 -0700
committer Andreas Huber <andih@google.com> 2011-08-19 10:30:58 -0700
commit121e50c0669dc25347ff1d5c198875a8f213bcc9 (patch)
tree0d0d9c2f23ea0aab1e1f74143ab77cf4e6ff0780
parent03eb1dca8c0c48ec50269a8fd24211aa3b83b72f (diff)
Raise the maximum input buffer size for the vpx video decoder to 256KB
Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4 related-to-bug: 5169641
-rw-r--r--media/libstagefright/codecs/on2/dec/SoftVPX.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/on2/dec/SoftVPX.cpp b/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
index 7e83163c922e..61a02acf81f9 100644
--- a/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
+++ b/media/libstagefright/codecs/on2/dec/SoftVPX.cpp
@@ -66,7 +66,7 @@ void SoftVPX::initPorts() {
def.eDir = OMX_DirInput;
def.nBufferCountMin = kNumBuffers;
def.nBufferCountActual = def.nBufferCountMin;
- def.nBufferSize = 8192;
+ def.nBufferSize = 256 * 1024;
def.bEnabled = OMX_TRUE;
def.bPopulated = OMX_FALSE;
def.eDomain = OMX_PortDomainVideo;