[vlc-devel] Patch for adding preferred subtitle language tracks and preferred audio language tracks for Android devices

Miller, Kyle KyleMiller3 at my.unt.edu
Thu Oct 7 14:44:14 UTC 2021

This has been a feature mentioned maybe as many as 8 years ago if I recall from reading the requests correctly. I have use for it, so I implemented it for my FireTV.

I was not sure how to make the test suite checks or anything, but I tested the code a few times and it seems to work.

There were 2 lines of code I was not sure about replacing but it seemed necessary for this patch to work correctly. That part is checking to see if media.id == 0L. I cannot figure out the purpose of this check and it breaks my code if I keep it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20211007/7e303ef8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Implemented-subtitle-track-langauge-preferences-and-.patch
Type: text/x-patch
Size: 7458 bytes
Desc: 0001-Implemented-subtitle-track-langauge-preferences-and-.patch
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20211007/7e303ef8/attachment.bin>

More information about the vlc-devel mailing list