Commit a1fc0a6b by olly Committed by Oliver Woodman

Set max input size for H.265/HEVC.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117220851
parent b1c356fb
...@@ -582,6 +582,7 @@ public class MediaCodecVideoTrackRenderer extends MediaCodecTrackRenderer { ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment