mirror of
https://github.com/androidx/media.git
synced 2025-05-17 04:29:55 +08:00
Detect Dolby Vision profile 7
In official documentation dvProfile 7 uses dvhe as the codec type.
This commit is contained in:
parent
87003b30fc
commit
6d9c707255
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user