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:
olly 2016-03-15 03:03:18 -07:00 committed by Oliver Woodman
parent b1c356fbab
commit a1fc0a6b00

View File

@ -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;