Skip to content

Commit

Permalink
Merge branch 'main' into issue_templates
Browse files Browse the repository at this point in the history
  • Loading branch information
podborski authored Aug 31, 2023
2 parents 1837fcc + b0b1648 commit a5f21bf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/construct/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ def crawl(hierarchy, path=[]):
if mp4ra_check and fourcc not in get_mp4ra_boxes():
continue

# Special case for sample group entries
if "@grouping_type" in value:
sg_entry = {"@Type": value["@grouping_type"]}
add_variant(add, sg_entry, path + [fourcc])

add_variant(add, value, path)
crawl(value, path + [fourcc])
elif isinstance(value, list):
Expand Down

0 comments on commit a5f21bf

Please sign in to comment.