Skip to content

Commit

Permalink
Add pasp and btrt validation for "hev1","hvc1" (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy authored Jun 7, 2023
1 parent 058375d commit 1f3f68c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ISOSegmentValidator/public/src/ValidateAtoms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2395,6 +2395,12 @@ OSErr Validate_vide_SD_Entry( atomOffsetEntry *aoe, void *refcon )
atomerr= Validate_hvcC_Atom( entry, refcon, (char *)"hvcC" );
if (!err) err = atomerr;
}
else if (entry->type == 'pasp') {
BAILIFERR( Validate_pasp_Atom( entry, refcon, (char *)"pasp" ) );
}
else if ( entry->type == 'btrt'){
BAILIFERR( Validate_btrt_Atom( entry, refcon, (char *)"btrt" ) );
}
else {
err = badAtomErr;
warnprint("Warning: In %s - unknown atom found \"%s\": video sample descriptions would not normally contain this\n",vg.curatompath, ostypetostr(entry->type));
Expand Down

0 comments on commit 1f3f68c

Please sign in to comment.