Set max input size for H.265/HEVC.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117220851
This commit is contained in:
parent
b1c356fbab
commit
a1fc0a6b00
@ -582,6 +582,7 @@ public class MediaCodecVideoTrackRenderer extends MediaCodecTrackRenderer {
|
||||
maxPixels = maxWidth * maxHeight;
|
||||
minCompressionRatio = 2;
|
||||
break;
|
||||
case MimeTypes.VIDEO_H265:
|
||||
case MimeTypes.VIDEO_VP9:
|
||||
maxPixels = maxWidth * maxHeight;
|
||||
minCompressionRatio = 4;
|
||||
|
Loading…
x
Reference in New Issue
Block a user