OSDN Git Service

Raise the maximum input buffer size for the vpx video decoder to 256KB
authorAndreas Huber <andih@google.com>
Fri, 19 Aug 2011 17:30:58 +0000 (10:30 -0700)
committerAndreas Huber <andih@google.com>
Fri, 19 Aug 2011 17:30:58 +0000 (10:30 -0700)
Change-Id: I0411763829bf186d1b3b679fa72c9051524506b4
related-to-bug: 5169641

media/libstagefright/codecs/on2/dec/SoftVPX.cpp

index 7e83163..61a02ac 100644 (file)
@@ -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;