Skip to content

Commit

Permalink
Remove brittle layer size value from golden test.
Browse files Browse the repository at this point in the history
  • Loading branch information
maryla-uc committed Sep 12, 2024
1 parent a5e36d3 commit ce419ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</AV1ConfigurationBox>
<ColourInformationBox Size="19" Type="colr" Specification="iff" Container="video_sample_entry ipco encv resv" colour_type="nclx" colour_primaries="1" transfer_characteristics="13" matrix_coefficients="6" full_range_flag="1">
</ColourInformationBox>
<AV1LayeredImageIndexingPropertyBox Size="15" Type="a1lx" Specification="avif" Container="ipco" large_size="0" layer_size0="206" layer_size1="0" layer_size2="0">
<AV1LayeredImageIndexingPropertyBox Size="15" Type="a1lx" Specification="avif" Container="ipco" large_size="0" layer_size0="REDACTED" layer_size1="0" layer_size2="0">
</AV1LayeredImageIndexingPropertyBox>
<UnknownBox Size="10" Type="lsel" Specification="unknown" Container="unknown" data="0xFFFF" >
</UnknownBox>
Expand All @@ -62,7 +62,7 @@
</AV1ConfigurationBox>
<AuxiliaryTypePropertyBox Size="56" Type="auxC" Version="0" Flags="0" Specification="iff" Container="ipco" aux_type="urn:mpeg:mpegB:cicp:systems:auxiliary:alpha" aux_subtype="">
</AuxiliaryTypePropertyBox>
<AV1LayeredImageIndexingPropertyBox Size="15" Type="a1lx" Specification="avif" Container="ipco" large_size="0" layer_size0="664" layer_size1="0" layer_size2="0">
<AV1LayeredImageIndexingPropertyBox Size="15" Type="a1lx" Specification="avif" Container="ipco" large_size="0" layer_size0="REDACTED" layer_size1="0" layer_size2="0">
</AV1LayeredImageIndexingPropertyBox>
</ItemPropertyContainerBox>
<ItemPropertyAssociationBox Size="34" Type="ipma" Version="0" Flags="0" Specification="iff" Container="iprp" entry_count="2">
Expand Down
1 change: 1 addition & 0 deletions tests/golden_test_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ redact_xml() {
-e 's/extent_length="[0-9]*"/extent_length="REDACTED"/g' \
-e 's/dataSize="[0-9]*"/dataSize="REDACTED"/g' \
-e 's/<MediaDataBox\(.*\) Size="[0-9]*"/<MediaDataBox\1 Size="REDACTED"/g' \
-e 's/layer_size0="[0-9]*"/layer_size0="REDACTED"/g' \
"$f"
# For animations.
sed -i.bak -e 's/CreationTime="[0-9]*"/CreationTime="REDACTED"/g' \
Expand Down

0 comments on commit ce419ad

Please sign in to comment.