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

Add basic win32 example #53

Open
ZhenFTW opened this issue Mar 25, 2022 · 0 comments
Open

Add basic win32 example #53

ZhenFTW opened this issue Mar 25, 2022 · 0 comments

Comments

@ZhenFTW
Copy link

ZhenFTW commented Mar 25, 2022

As the title says. Please add a basic win32 example. Most examples relies on cross platform windows library and none of it gives the best solution to handle events in the direct os way. I'm having trouble setting up wakeup events and render gl context in simple platforms using win32 for example or trying it on android application in jni using opengl context. I'm having trouble setting up mpv_set_wakeup_callback and mpv_render_context_set_update_callback. How do I do it without sdl or other cross platform libraries? I looked into mpv-android but the projects requires mpv_wakeup and pthread to work with events. I'm not sure how would I do that. Hope I get a proper response or sample demo as this looks pretty hard for me and I hope on embedding mpv on flutter. But most examples relies on cross platform toolkit and every os has their own implementation of mpv_set_wakeup_callback and mpv_render_context_set_update.

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