OSDN Git Service

stagefright-plugins: Increase max video buffer size + count
authorSteve Kondik <steve@cyngn.com>
Sat, 2 Jan 2016 09:32:52 +0000 (01:32 -0800)
committerSteve Kondik <steve@cyngn.com>
Sat, 2 Jan 2016 09:32:52 +0000 (01:32 -0800)
 * Fixes testOtherMpeg4SurfArbitraryW and testOtherMpeg4FlexArbitraryW

Change-Id: I1af56a5b5d950b61778c59c7d097755c9a4b902e

omx/SoftFFmpegVideo.cpp
omx/SoftFFmpegVideo.h

index 200d44b..1cba05e 100644 (file)
@@ -67,7 +67,7 @@ SoftFFmpegVideo::SoftFFmpegVideo(
 
     initPorts(
             kNumInputBuffers,
-            8192 /* inputBufferSize */,
+            1024 * 1024 /* inputBufferSize */,
             kNumOutputBuffers,
             name);
 
index 229e9c7..85d937b 100644 (file)
@@ -58,7 +58,7 @@ private:
     enum {
         kInputPortIndex   = 0,
         kOutputPortIndex  = 1,
-        kNumInputBuffers  = 5,
+        kNumInputBuffers  = 8,
         kNumOutputBuffers = 2,
     };