Skip to content

Conversation

@vigneshvg
Copy link
Contributor

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.

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.
Copy link

@leo-barnes leo-barnes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!


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'.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[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'.

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...

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')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
db 0x61, 0x75, 0x78, 0x76 ; "handler_type(32)" ('pict')
db 0x61, 0x75, 0x78, 0x76 ; "handler_type(32)" ('auxv')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants