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

Getting a pointer to JavaVM #709

Open
bl1nch opened this issue Jan 29, 2024 · 0 comments
Open

Getting a pointer to JavaVM #709

bl1nch opened this issue Jan 29, 2024 · 0 comments

Comments

@bl1nch
Copy link

bl1nch commented Jan 29, 2024

Some libraries require a pointer to the JavaVM to function properly. So it would be nice to be able to get a pointer to the JavaVM using pyjnius.
For example, to support hardware decoding in ffmpeg, libavcodec requires passing a pointer to the JavaVM using the av_jni_set_java_vm function (documentation: https://ffmpeg.org/doxygen/trunk/jni_8h.html).

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