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
This commit is contained in:
anjalibh 2018-02-02 12:16:54 -08:00 committed by Oliver Woodman
parent 8bc5febbb8
commit 1a6c8c6934

View File

@ -98,7 +98,7 @@ public class LibvpxVideoRenderer extends BaseRenderer {
* 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.
*/
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
* insufficient.