mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Updates to mp4 atom extractor/parser for dtsx support.
This commit is contained in:
parent
a55c0654fb
commit
716cbceaa4
2 changed files with 6 additions and 0 deletions
|
|
@ -162,6 +162,9 @@ import java.util.List;
|
||||||
@SuppressWarnings("ConstantCaseForConstants")
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
public static final int TYPE_dtse = 0x64747365;
|
public static final int TYPE_dtse = 0x64747365;
|
||||||
|
|
||||||
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
|
public static final int TYPE_dtsx = 0x64747378;
|
||||||
|
|
||||||
@SuppressWarnings("ConstantCaseForConstants")
|
@SuppressWarnings("ConstantCaseForConstants")
|
||||||
public static final int TYPE_ddts = 0x64647473;
|
public static final int TYPE_ddts = 0x64647473;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -964,6 +964,7 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
|
||||||
|| childAtomType == Atom.TYPE_dtse
|
|| childAtomType == Atom.TYPE_dtse
|
||||||
|| childAtomType == Atom.TYPE_dtsh
|
|| childAtomType == Atom.TYPE_dtsh
|
||||||
|| childAtomType == Atom.TYPE_dtsl
|
|| childAtomType == Atom.TYPE_dtsl
|
||||||
|
|| childAtomType == Atom.TYPE_dtsx
|
||||||
|| childAtomType == Atom.TYPE_samr
|
|| childAtomType == Atom.TYPE_samr
|
||||||
|| childAtomType == Atom.TYPE_sawb
|
|| childAtomType == Atom.TYPE_sawb
|
||||||
|| childAtomType == Atom.TYPE_lpcm
|
|| childAtomType == Atom.TYPE_lpcm
|
||||||
|
|
@ -1368,6 +1369,8 @@ import org.checkerframework.checker.nullness.compatqual.NullableType;
|
||||||
mimeType = MimeTypes.AUDIO_DTS_HD;
|
mimeType = MimeTypes.AUDIO_DTS_HD;
|
||||||
} else if (atomType == Atom.TYPE_dtse) {
|
} else if (atomType == Atom.TYPE_dtse) {
|
||||||
mimeType = MimeTypes.AUDIO_DTS_EXPRESS;
|
mimeType = MimeTypes.AUDIO_DTS_EXPRESS;
|
||||||
|
} else if (atomType == Atom.TYPE_dtsx) {
|
||||||
|
mimeType = MimeTypes.AUDIO_DTS_X;
|
||||||
} else if (atomType == Atom.TYPE_samr) {
|
} else if (atomType == Atom.TYPE_samr) {
|
||||||
mimeType = MimeTypes.AUDIO_AMR_NB;
|
mimeType = MimeTypes.AUDIO_AMR_NB;
|
||||||
} else if (atomType == Atom.TYPE_sawb) {
|
} else if (atomType == Atom.TYPE_sawb) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue