mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Parse all UUID boxes, not just the first one.
This commit is contained in:
parent
1f0d411886
commit
b8415dba59
@ -751,9 +751,12 @@ public final class FragmentedMp4Extractor implements Extractor {
|
||||
parseSenc(senc.data, out);
|
||||
}
|
||||
|
||||
LeafAtom uuid = traf.getLeafAtomOfType(Atom.TYPE_uuid);
|
||||
if (uuid != null) {
|
||||
parseUuid(uuid.data, out, extendedTypeScratch);
|
||||
int childrenSize = traf.children.size();
|
||||
for (int i = 0; i < childrenSize; i++) {
|
||||
Atom atom = traf.children.get(i);
|
||||
if (atom.type == Atom.TYPE_uuid) {
|
||||
parseUuid(((LeafAtom) atom).data, out, extendedTypeScratch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user