Merge pull request #6650 from stanionascu:dev-v2-dv

PiperOrigin-RevId: 280573887
This commit is contained in:
Oliver Woodman 2019-11-15 05:16:29 +00:00
parent c0e633fbe1
commit 1345010e27

View file

@ -36,7 +36,7 @@ public final class DolbyVisionConfig {
int dvProfile = (profileData >> 1);
int dvLevel = ((profileData & 0x1) << 5) | ((data.readUnsignedByte() >> 3) & 0x1F);
String codecsPrefix;
if (dvProfile == 4 || dvProfile == 5) {
if (dvProfile == 4 || dvProfile == 5 || dvProfile == 7) {
codecsPrefix = "dvhe";
} else if (dvProfile == 8) {
codecsPrefix = "hev1";