tags: update to latest iso-code and support more languages
authorMathieu Duponchelle <mathieu@centricular.com>
Tue, 11 Aug 2020 20:54:50 +0000 (22:54 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 12 Aug 2020 17:59:58 +0000 (17:59 +0000)
commit1ce61b1b08fb8c7513f543e308182cde9d060f44
tree410b3d002db27a94729ed3af6e5d5215ecdb9a94
parent6500a76bfb126a0fff5c5920356e78c0e66569e9
tags: update to latest iso-code and support more languages

Some languages have an ISO 639-2 representation but no 639-1
representation, for example where "eng" has a two-letter
equivalent in "en", "enm" doesn't have one.

Discarding those languages from our static table caused functions
such as gst_tag_get_language_code_iso_639_2T() or
gst_tag_get_language_code_iso_639_2B() to return NULL for
valid language codes such as "enm", potentially causing users
of these API such as mpegtsmux to discard language code tags
as invalid.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/785>
gst-libs/gst/tag/lang-tables.dat
gst-libs/gst/tag/lang.c
gst-libs/gst/tag/mklangtables.c