Commit a0088f06 by olly Committed by kim-vde

Change getMaxInputSize visibility.

PiperOrigin-RevId: 326341905
parent 5220c70c
......@@ -1430,7 +1430,7 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
* @return A maximum input buffer size in bytes, or {@link Format#NO_VALUE} if a maximum could not
* be determined.
*/
private static int getMaxInputSize(MediaCodecInfo codecInfo, Format format) {
protected static int getMaxInputSize(MediaCodecInfo codecInfo, Format format) {
if (format.maxInputSize != Format.NO_VALUE) {
// The format defines an explicit maximum input size. Add the total size of initialization
// data buffers, as they may need to be queued in the same input buffer as the largest sample.
......
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