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

Ronald S. Bultje rsbultje
Sun Mar 2 15:03:30 CET 2008


Hi,

On Sun, Mar 2, 2008 at 1:15 AM, Reimar D?ffinger <
Reimar.Doeffinger at stud.uni-karlsruhe.de> wrote:

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


Oh, OK. So, any plans to do the opposite? :-).

Ronald




More information about the ffmpeg-devel mailing list