I am developing a libretro core, written in Rust. The repository for it is here.
The main issue I am trying to sort out is that passing video (from gstreamer) to libretro causes a segfault. I have detailed the issue here.
There is a relevant comment here as well.
In that particular comment, Sebastian (he handles gstreamer-rs) said:
Also check that the size of the mapped buffer is the same as the size in bytes that libretro expects there. That’s likely the reason for the crash.
I have read through as much documentation as I can find for libretro, but I cannot sort out why I can successfully pass audio to libretro, but passing video crashes.
Any help is welcome