We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use libmpv with SharpGL in a wpf desktop app.
no crash ,no error ,just no video only voice.
os: win7 x64 and win10 x64 visual studio 2019
did i miss something?
public MainWindow() { InitializeComponent(); renderUpdateCallback = this.renderUpdate; GC.KeepAlive(renderUpdateCallback); mpvHandle = libmpv.mpv_create(); libmpv.mpv_initialize(mpvHandle); } private void OpenGLControl1_OpenGLInitialized(object sender, SharpGL.WPF.OpenGLRoutedEventArgs args) { createRender(); libmpv.mpv_render_context_set_update_callback(mpvGLContext, renderUpdateCallback, IntPtr.Zero); libmpv.mpv_set_option_string(mpvHandle,"vo", "opengl-cb"); libmpv.mpv_set_option_string(mpvHandle, "hwdec", "auto"); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I use libmpv with SharpGL in a wpf desktop app.
no crash ,no error ,just no video only voice.
os: win7 x64 and win10 x64
visual studio 2019
did i miss something?
The text was updated successfully, but these errors were encountered: