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

Provide bindings for AV_CHANNEL_LAYOUT_MASK and AvChannelLayout macros #182

Open
dmtrKovalenko opened this issue May 6, 2024 · 0 comments

Comments

@dmtrKovalenko
Copy link

dmtrKovalenko commented May 6, 2024

Right now the bindings for the struct AVChannelLayout is provided but the actual way to create the struct are not.

Here is a part of sources that are not covered https://github.com/FFmpeg/FFmpeg/blob/2f8bf90054a5f7455f35b8705163f81c4413d779/libavutil/channel_layout.h#L363-L423

I know that this is a C macro which is annoying to declare but we can at least provide bindings to the costs defined below or at max replicate the macro with rust macro_rules.

If you think this is valuable I can open a PR for that

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

No branches or pull requests

1 participant