Commit c57210ca by anjalibh Committed by Andrew Lewis

Reduce Libvpx output buffers to 8, to reduce the chances of out of memory errors.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184317120
parent 75574928
...@@ -98,7 +98,7 @@ public class LibvpxVideoRenderer extends BaseRenderer { ...@@ -98,7 +98,7 @@ public class LibvpxVideoRenderer extends BaseRenderer {
* The number of output buffers. The renderer may limit the minimum possible value due to * The number of output buffers. The renderer may limit the minimum possible value due to
* requiring multiple output buffers to be dequeued at a time for it to make progress. * requiring multiple output buffers to be dequeued at a time for it to make progress.
*/ */
private static final int NUM_OUTPUT_BUFFERS = 16; private static final int NUM_OUTPUT_BUFFERS = 8;
/** /**
* The initial input buffer size. Input buffers are reallocated dynamically if this value is * The initial input buffer size. Input buffers are reallocated dynamically if this value is
* insufficient. * insufficient.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment