Page 2 of 2

Re: libmpv

Posted: Tue Nov 26, 2024 7:59 pm
by infratec
I'm not in the office for the next 2 days.
On friday I can checkt it on our mac.

Re: libmpv

Posted: Tue Nov 26, 2024 8:04 pm
by DannyWeijermans
that's great, infratec!
thanks already for having a look at it!!
regards, Danny

Re: libmpv

Posted: Fri Nov 29, 2024 11:08 am
by infratec
Loading works:

Code: Select all

libmpv = OpenLibrary(#PB_Any, "/usr/local/Cellar/mpv/0.39.0_1/lib/libmpv.dylib")
And the output of the demo works too:

Code: Select all

Debug mpv_client_api_version()
Debug mpv_error_string(#MPV_ERROR_NOMEM)
131075
memory allocation failed

Re: libmpv

Posted: Fri Nov 29, 2024 9:19 pm
by DannyWeijermans
aha! great!
and I noticed that in your code,
mpv_error_string
should be
mpv_error_string_
(with an underscore at the end)
Okay: I'll dive some deeper in this,
since MPV really kicks ass ;)
Can I ask you more (pm) if I have any more questions about it?
Regards! Danny Weijermans