Skip to content
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

KaxSemantic.h: add enum values from the specs with documentation #67

Merged
merged 1 commit into from
Sep 18, 2022

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Sep 11, 2022

This provides some useful source for anyone parsing Matroska files. The enum names are the same as in libmatroska2 (mkclean/mkvalidator).

The documentation doesn't look great but it still gives useful inline information.

This should not break ABI. The names/types will need to be kept stable in the future.

Generated with Matroska-Org/foundation-source#91

This provides some useful source for anyone parsing Matroska files.
The enum names are the same as in libmatroska2 (mkclean/mkvalidator).

The documentation doesn't look great but it still gives useful inline
information.
@robUx4 robUx4 added enhancement Semantic Change in the semantic interepretation labels Sep 11, 2022
@robUx4 robUx4 mentioned this pull request Sep 11, 2022
@robUx4
Copy link
Contributor Author

robUx4 commented Sep 11, 2022

The names could be adapted to match existing names in mkvtoolnix to make things easier.

Copy link
Contributor

@mbunkus mbunkus left a comment

Choose a reason for hiding this comment

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

This is fine. Tested with MKVToolNix; no problems.

I assume that the list of constants is auto-generated from the specs, and that I don't have to verify their names & values match the specs — right?

Edit: right, I now see that your original comment states that it was indeed auto-generated. Great!

@robUx4
Copy link
Contributor Author

robUx4 commented Sep 17, 2022

Yes, I'm also going to add it to libmatroska2 as well with the same names. I checked mkvtoolnix and you don't have enums for these values yet, so no need to try pre-existing names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Semantic Change in the semantic interepretation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants