[FFmpeg-devel] GSoC with FFMpeg waht a combination!

Ronald S. Bultje rsbultje
Sat Mar 22 15:57:23 CET 2008


On Sat, Mar 22, 2008 at 8:29 AM, Michael Niedermayer <michaelni at gmx.at>

> The requirement of no duplicate strings leads to integers as keys.
> The requirement of O(1) and uncoordinated additon of new keys leads
> to the use of a hash table and 64bit hash values of
> default (english/in source) strings as keys.

Disadvantage is that if an invalid locale is specified, an invalid string is
used or whatever, no string will be displayed. Also, everyone *has* to
specify a locale. In the normal gettext() world, developers don't specify a
locale in their runtime and it just works. Here, developers not wanting a
locale would need to recompile so that the string->int64 replacements go
away and normal plain strings (untranslated) are displayed.

Anyway, do you know any software that uses your described system that I
could have a peek at?


More information about the ffmpeg-devel mailing list