[FFmpeg-devel] [PATCH] Read ogg stream language

Ronald S. Bultje rsbultje
Sun Mar 2 00:24:10 CET 2008


Hi,

On Sat, Mar 1, 2008 at 6:03 PM, Michael Niedermayer <michaelni at gmx.at>
wrote:

> On Sat, Mar 01, 2008 at 09:44:06PM +0000, M?ns Rullg?rd wrote:
> > Reimar D?ffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de> writes:
> > > +} langmap [] = {
> > > +    {"eng", "English"},
> > > +    {"und", NULL}
> > > +};


ISO-639-1 defines both 2- and 3-letter language codes. If you pick both of
them, you can use this for DVD language code reading also (that's 2-letter).
Also, Matroska uses the 3-letter coding as well.

Ronald




More information about the ffmpeg-devel mailing list