-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check that auxiliary tracks have 'auxv' as the handler_type #40
base: master
Are you sure you want to change the base?
Conversation
According to the HEIF specification, auxiliary tracks should have 'auxv' as the handler_type. Update the existing findAuxlTracks logic to check for that and then perform the 'auxi' check only on those tracks which have the handler_type as 'auxi'. Fixes issue gpac#38.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
@@ -66,22 +66,32 @@ displayable (not hidden) | |||
|
|||
Specification description: HEIF - ISO/IEC 23008-12 - 2nd Edition N18310 | |||
|
|||
[heif][Rule #1] Error: Found 'auxl' track (trackId: 1) with unexpected handler_type="pico". Must be 'auxv'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[heif][Rule #1] Error: Found 'auxl' track (trackId: 1) with unexpected handler_type="pico". Must be 'auxv'. | |
[heif][Rule #1] Error: Found 'auxl' track (trackId: 1) with unexpected handler_type="pict". Must be 'auxv'. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or wait, maybe this was intended...
@@ -503,7 +503,7 @@ moov_start: | |||
db 0x00 ; "version(8)" | |||
db 0x00, 0x00, 0x00 ; "flags(24)" | |||
db 0x00, 0x00, 0x00, 0x00 ; "pre_defined(32)" | |||
db 0x70, 0x69, 0x63, 0x74 ; "handler_type(32)" ('pict') | |||
db 0x61, 0x75, 0x78, 0x76 ; "handler_type(32)" ('pict') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
db 0x61, 0x75, 0x78, 0x76 ; "handler_type(32)" ('pict') | |
db 0x61, 0x75, 0x78, 0x76 ; "handler_type(32)" ('auxv') |
According to the HEIF specification, auxiliary tracks should have 'auxv' as the handler_type.
Update the existing findAuxlTracks logic to check for that and then perform the 'auxi' check only on those tracks which have the handler_type as 'auxi'.
Fixes issue #38.