Commit 3909db2a by Cedric T

Add DTSUHDSpecificBox (udts) support to parseAudioSampleEntry().

parent bc353726
......@@ -177,6 +177,9 @@ import java.util.List;
public static final int TYPE_ddts = 0x64647473;
@SuppressWarnings("ConstantCaseForConstants")
public static final int TYPE_udts = 0x75647473;
@SuppressWarnings("ConstantCaseForConstants")
public static final int TYPE_tfdt = 0x74666474;
@SuppressWarnings("ConstantCaseForConstants")
......
......@@ -1560,7 +1560,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
// because these streams can carry simultaneously multiple representations of the same
// audio. Use stereo by default.
channelCount = 2;
} else if (childAtomType == Atom.TYPE_ddts) {
} else if ((childAtomType == Atom.TYPE_ddts) || (childAtomType == Atom.TYPE_udts)) {
out.format =
new Format.Builder()
.setId(trackId)
......
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