Open maximiliancsuk opened 7 years ago
Haven't experienced this crash myself. It probably is something OSX specific since I never had the chance of testing on OSX. With a lot of trouble I only managed to compile.
The next time I have OSX available again, I will try to debug it
Thanks a lot for looking into it! I figured it would be Mac specific. :(
Are there any instructions how to build the lib? I'd try myself, but without documentation I'm a bit lost.
Good question. I was looking in the repository, but for some reason, the build-ffmpeg-macosx*.xml files are missing. If you feel adventurous, you can do the following:
in build-ffmpeg.xml you can see how first ffmpeg is downloaded and unpacked. You can do this manually in a folder.
The steps will be as follows:
ant -f build-macosx64.xml
gdx-video-desktop-natives.jar
Good luck!
I tried but failed miserably :( It seems my homebrew installed libraries get in the way of a clean compilation... I might try another time, but I'm not sure if I can do it.
It'd be awesome if somebody else tries and succeeds! :1st_place_medal:
Hi,
i stumbled upon a nasty bug that happens quite often when calling VideoPlayer.dispose() (or VideoPlayer.stop()), on desktop (Mac). I traced the error down to the VideoDecoder destructor where it seems like something is deallocated a second time or was never allocated (pointer being freed was not allocated, see crash report below). I couldn't debug any further because I wasn't able to (re)compile the native libs. I am using the prebuilt ones you offered in another issue.
Here's the crash report:
Any idea?