Better language selection?
VLC's menu-language
, audio-language
and spu-language
options were originally designed to take a fallback list of language choices, for instance "fr,en" meaning French if available, otherwise English if available. These are used with the dvdnav_menu_language_select()
, dvdnav_audio_language_select()
and dvdnav_spu_language_select()
functions respectively, but these functions only take a single code and do not perform any check that the given code matches an available language on the disc, thus it is not possible to use the VLC fallback options as intended; only the first code can be supplied to DVDnav, hoping for the best.
Please forgive my lack of familiarity with DVDnav, but it would be helpful if DVDnav were able to actually verify the given code against the available disc languages and accept/reject the supplied code accordingly, such that VLC can step through the user's preference list to find the best match. Can this be done? (Or alternatively could DVDnav take a string with a list of codes, and find the best match itself at the appropriate time if that would work better?)
The same problem exists with libbluray. I'll wait for responses before filing a copy of the issue against that.