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

Måns Rullgård mans
Thu Feb 14 15:06:37 CET 2008


Reimar D?ffinger wrote:
> Hello,
> On Thu, Jan 31, 2008 at 11:57:35PM +0100, Reimar D?ffinger wrote:
>> attached patch makes vorbis_comment (which lacks a ff_ prefix btw) parse
>> the language tag into AVStream.language (if a mapping is known).
>> It also adds vorbis comment parsing to oggparseogm.c (I would apply as a
>> second step).
>> The code is probably improvable, the mapping list even more so.
>
> So is this rejected, should it be done differently or just applied?

I'd prefer if a mapping of common language names to codes were kept
outside the ogg demuxer.  It could be useful to someone else.

-- 
M?ns Rullg?rd
mans at mansr.com




More information about the ffmpeg-devel mailing list