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);
|
parseSenc(senc.data, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
LeafAtom uuid = traf.getLeafAtomOfType(Atom.TYPE_uuid);
|
int childrenSize = traf.children.size();
|
||||||
if (uuid != null) {
|
for (int i = 0; i < childrenSize; i++) {
|
||||||
parseUuid(uuid.data, out, extendedTypeScratch);
|
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