mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
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:
parent
75574928e5
commit
c57210caaf
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue