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

avcodec.Rational struct returns contains unexported attributes #11

Open
russ666 opened this issue Jun 23, 2017 · 1 comment
Open

avcodec.Rational struct returns contains unexported attributes #11

russ666 opened this issue Jun 23, 2017 · 1 comment

Comments

@russ666
Copy link

russ666 commented Jun 23, 2017

C-lang struct C.struct_AVRational, presented as avcodec.Rational contains lowercased num and den attributes, which couldn't be accessed from external package. The only way to access it is by using reflections.

@targodan
Copy link
Owner

Yes, I see. I guess one would need to add exported accessing methods to the struct.

If anyone can to it, feel free to do so, as it may take some time before I can get around to do this.

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

No branches or pull requests

2 participants