(Apr-28-2019, 09:55 PM)Yoriz Wrote: What does libvlc_video_get_aspect_ratio return, maybe it will give an indication of what a psz_aspect is.I printed the output of libvlc_video_get_aspect_ratio, and it just prints "None"... so nothing useful there :(
I would have thought API documentation contains the info on the variable types, and that I just couldn't work out how to interpret that from those docs. So it doesn't look like it contains that information?
I found this in the main LibVLC documentation (rather than going through the Python version)
https://www.videolan.org/developers/vlc/...b4a6968e5e
And if I click "psz_string" it's defined as "char* vlc_value_t::psz_string".
When I was last trying to solve this problem, I was looking into a Python fuction called "str_to_bytes" so that may have something to do with it, but I can't remember why.