mirror of
https://github.com/androidx/media.git
synced 2025-05-16 03:59:54 +08:00
Change getMaxInputSize visibility.
PiperOrigin-RevId: 326341905
This commit is contained in:
parent
5220c70c5e
commit
a0088f068a
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user