hudec117 / Mpv.NET-lib-

.NET embeddable video/media player based on mpv for WinForms and WPF
MIT License
138 stars 36 forks source link

Update LoadFunction to new mpv_destroy argument #50

Closed AntonWittig closed 2 years ago

AntonWittig commented 2 years ago

As visible by the first image below, the function "mpv_detach_destroy" has been renamed quite a while ago.

image

When using Mpv.Net-lib- in Unity the following error occured when using newer versions of the libmpv file ("mpv-2.dll").

image

This pull request merely changes the string ("mpv_detach_destroy") of the requested function in the LoadFunction call with the current function name ("mpv_destroy").