summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2011-08-19 10:30:58 -0700
committerAndreas Huber <andih@google.com>2011-08-19 10:30:58 -0700
commit67f43688334bcd72ae7c3b5b386c1b6a34711f4f (patch)
tree51a8a18c629c43475c5ef1b40b6968e0f41e1722
parent50bb96ca6d19846b20b8016cf020e6a3a80e495e (diff)
downloadframeworks_av-67f43688334bcd72ae7c3b5b386c1b6a34711f4f.zip
frameworks_av-67f43688334bcd72ae7c3b5b386c1b6a34711f4f.tar.gz
frameworks_av-67f43688334bcd72ae7c3b5b386c1b6a34711f4f.tar.bz2
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 7e83163..61a02ac 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;