GNOME Bugzilla – Bug 505823
[matroskademux] language tags have wrong iso code
Last modified: 2009-12-13 12:53:07 UTC
matroskademux puts the language code from the matroska file in the tag. But the matroska files use ISO 639-2 and the language tag [1] must be in ISO 639-1. Can't we use ISO 639-2 or ISO 639-3 in GStreamer ? [1] http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstTagList.html#GST-TAG-LANGUAGE-CODE:CAPS
FWIW, in practice, either (-1 or -2) is fine and used for this tag (or even a language name string). Applications have to just deal with it currently.
commit b66f9145862b7f2a3f89b5745692306061907e07 Author: Tim-Philipp Müller <tim.muller@collabora.co.uk> Date: Sun Dec 13 12:45:22 2009 +0000 matroska: fix language code writing and extraction Matroska uses three-letter ISO 639-2B codes, but GST_TAG_LANGUAGE is supposed to contain two-letter ISO 639-1 codes, so use new language code mapping functions in -base to convert between those two as needed. Fixes #505823.