mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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;
|
maxPixels = maxWidth * maxHeight;
|
||||||
minCompressionRatio = 2;
|
minCompressionRatio = 2;
|
||||||
break;
|
break;
|
||||||
|
case MimeTypes.VIDEO_H265:
|
||||||
case MimeTypes.VIDEO_VP9:
|
case MimeTypes.VIDEO_VP9:
|
||||||
maxPixels = maxWidth * maxHeight;
|
maxPixels = maxWidth * maxHeight;
|
||||||
minCompressionRatio = 4;
|
minCompressionRatio = 4;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue