* all: added a --audio-language and --spu-language to select tracks based
authorLaurent Aimar <fenrir@videolan.org>
Tue, 8 Feb 2005 17:00:18 +0000 (17:00 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Tue, 8 Feb 2005 17:00:18 +0000 (17:00 +0000)
commit236ca7aea13a438f92c245565208c9bb6ff9e11c
tree50f2223b081e099a40af255f73b4c57f8263e6a9
parented0b82ee3b77a147c25977e38909a820c29d2f29
 * all: added a --audio-language and --spu-language to select tracks based
 on language code.
 Both options accepts a list (comma separated) of country code(2/3 letters)
or name (english/native).
 For demuxers that doesn't provide language info, they are ignored.

 Support for dvdnav isn't complete (only first language is tried) and untested.

 Ex: --spu-language en,fr will try to select english track and if none
 then french one (and if none, no subtitle).
 (you can also use --spu-language english,french or english,francais)
modules/access/dvdnav.c
src/input/es_out.c
src/input/var.c
src/libvlc.h