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

Make more use of typed children macros and remove FindElt #285

Merged
merged 6 commits into from
Mar 2, 2024

Conversation

robUx4
Copy link
Contributor

@robUx4 robUx4 commented Mar 2, 2024

FindElt() is a duplicate of FindFirstElt().

This will require Matroska-Org/libmatroska#190 for libmatroska as it was using FindElt() (and vice versa for the extra const).

It's a duplicate of EbmlMaster::FindFirstElt which is more often used.

Only VLC uses it and it can be easily switched for all libebml versions.
If we don't want to create the element, we can use a const EbmlMaster
@robUx4 robUx4 added api-break breaks the API (e.g. programs using it will have to adjust their source code) abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) labels Mar 2, 2024
@mbunkus mbunkus merged commit 0ef5ef4 into Matroska-Org:master Mar 2, 2024
17 checks passed
@robUx4 robUx4 deleted the typed_children branch March 2, 2024 12:38
@mbunkus
Copy link
Contributor

mbunkus commented Mar 2, 2024

Sorry, but I have to reverse this merge. Somehow I forgot to run my test suite after merging (doing too many things simultaneously…). There are many segfaults in MKVToolNix. Will have to look into them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abi-break breaks the ABI (e.g. programs linked against the library have to be recompiled) api-break breaks the API (e.g. programs using it will have to adjust their source code)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants