mirror of
https://github.com/androidx/media.git
synced 2025-05-07 23:50:44 +08:00
Assume 360p 4:3 H264 is supported from JB.
Issue: #1534 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=122742666
This commit is contained in:
parent
fb3fdb34c7
commit
83b43a6fe6
@ -254,6 +254,8 @@ public final class MediaCodecUtil {
|
||||
for (CodecProfileLevel profileLevel : decoderInfo.getProfileLevels()) {
|
||||
result = Math.max(avcLevelToMaxFrameSize(profileLevel.level), result);
|
||||
}
|
||||
// We assume support for at least 360p.
|
||||
result = Math.max(result, 480 * 360);
|
||||
}
|
||||
maxH264DecodableFrameSize = result;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user