Skip to content

[pending] Add METADATA_TYPE_USER_DATA_UNREGISTERED - #366

Open
joelsole wants to merge 2 commits into
AOMediaCodec:masterfrom
joelsole:jsole/unregistered_metadata
Open

[pending] Add METADATA_TYPE_USER_DATA_UNREGISTERED#366
joelsole wants to merge 2 commits into
AOMediaCodec:masterfrom
joelsole:jsole/unregistered_metadata

Conversation

@joelsole

@joelsole joelsole commented Feb 18, 2026

Copy link
Copy Markdown

This provides the text for the user data unregistered metadata as proposed in CWG-G007. Pending CWG approval; this text serves as a reference against the WD.

@peterderivaz

peterderivaz commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

You currently pass in metadata_obu( obu_size ). Did you instead want to pass in metadata_obu( obu_size - 1) to leave space for trailing bits (as in the AV2 version)?

And did you want to subtract the number of bytes used to encode the metadata_type as well?

@joelsole

joelsole commented Feb 18, 2026

Copy link
Copy Markdown
Author

Did you instead want to pass in metadata_obu( obu_size - 1) to leave space for trailing bits (as in the AV2 version)?

Adjusting the value in the next commit.

And did you want to subtract the number of bytes used to encode the metadata_type as well?

That's right. I'll use the variable Leb128Bytes from function leb128(), as in the AV2 case.

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.

2 participants