mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue