Skip to content

Commit 1f3f68c

Browse files
authored
Add pasp and btrt validation for "hev1","hvc1" (#675)
1 parent 058375d commit 1f3f68c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ISOSegmentValidator/public/src/ValidateAtoms.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2395,6 +2395,12 @@ OSErr Validate_vide_SD_Entry( atomOffsetEntry *aoe, void *refcon )
23952395
atomerr= Validate_hvcC_Atom( entry, refcon, (char *)"hvcC" );
23962396
if (!err) err = atomerr;
23972397
}
2398+
else if (entry->type == 'pasp') {
2399+
BAILIFERR( Validate_pasp_Atom( entry, refcon, (char *)"pasp" ) );
2400+
}
2401+
else if ( entry->type == 'btrt'){
2402+
BAILIFERR( Validate_btrt_Atom( entry, refcon, (char *)"btrt" ) );
2403+
}
23982404
else {
23992405
err = badAtomErr;
24002406
warnprint("Warning: In %s - unknown atom found \"%s\": video sample descriptions would not normally contain this\n",vg.curatompath, ostypetostr(entry->type));

0 commit comments

Comments
 (0)