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

Reimar Döffinger Reimar.Doeffinger
Sun Mar 2 07:15:23 CET 2008


On Sat, Mar 01, 2008 at 06:24:10PM -0500, Ronald S. Bultje wrote:
> 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.

Huh? This mapping is the other way round, from string to language code, I have
not planned to provide language code to id mapping yet.




More information about the ffmpeg-devel mailing list