libvlc: Add a freetype patch to fix subtitle files parsing (for XF android)
Hello, so i am working in a app which requires the Video playback with subtitles.
All things are working fine except 2 font related issues.
- Subtitles are not loading in some specific devices (known issue and already have a patch for that i guess in native android library)
- Subtitles with the language except Ennglish are not showing correcty. (Shows square, fonts issue)
I've researched a lot for the same and found some fixes in which one of them was to add media option "--freetype;font=<FONT_NAME>"
This works only with English Subtitles, For ex. If I want to load Korean Subs, it fails to show (in VLC app, it works like charm)
At the end of my search, i found this link which shows the patch is applied to overcome this issue. However, it seems the same is not done for Xamarin Forms Android nuget VideoLAN.LibVLC.Android.
So, is there a fix available for XF Android as well (as I can see no further updates has been provided to the VideoLAN.LibVLC.Android since months)? Or I can do some hack right in the project which can load the subtitles with any language?
Devices which causes issues are mostly of Samsung Galaxy.
Ref. issue posted for the similar query (but i guess not for XF) vlc-android#2252 (closed)