Don't allow ref frames < 2 in VLC

This commit is contained in:
Eric Reed
2016-07-06 16:03:17 -04:00
parent 5467ebccbe
commit da38c0200f

View File

@@ -89,7 +89,8 @@ public class ProfileHelper {
videoCodecProfile.setConditions(new ProfileCondition[]
{
new ProfileCondition(ProfileConditionType.EqualsAny, ProfileConditionValue.VideoProfile, "high|main|baseline|constrained baseline"),
new ProfileCondition(ProfileConditionType.LessThanEqual, ProfileConditionValue.VideoLevel, "41")
new ProfileCondition(ProfileConditionType.LessThanEqual, ProfileConditionValue.VideoLevel, "41"),
new ProfileCondition(ProfileConditionType.GreaterThanEqual, ProfileConditionValue.RefFrames, "2")
});
//The following profile is a method to exclude all HEVC from VLC