Closed cosven closed 5 years ago
From the example in official repo:https://github.com/mpv-player/mpv-examples/blob/master/libmpv/qt_opengl/mpvwidget.cpp#L11, we can see that the get_proc_addr return a void * function. We also should have c_void_p as return type.
get_proc_addr
void *
c_void_p
An example to test this functionality: https://gist.github.com/cosven/b313de2acce1b7e15afda263779c0afc
Looks good, thank you!
I've linked to your gist from the README in 7117de40 for future reference
From the example in official repo:https://github.com/mpv-player/mpv-examples/blob/master/libmpv/qt_opengl/mpvwidget.cpp#L11, we can see that the
get_proc_addr
return avoid *
function. We also should havec_void_p
as return type.An example to test this functionality: https://gist.github.com/cosven/b313de2acce1b7e15afda263779c0afc