mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08: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
8bc5febbb8
commit
1a6c8c6934
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user