Function

GstTag-1.0GstTagtag_get_language_name

  • Returns the name of the language given an ISO-639 language code as found in a GST_TAG_LANGUAGE_CODE tag. The name will be translated according to the current locale (if the library was built against the iso-codes package, otherwise the English name will be returned).

    Language codes are case-sensitive and expected to be lower case.

    Parameters

    • language_code: string

      two or three-letter ISO-639 language code

    Returns string

    language name in UTF-8 format, or NULL if language_code could not be mapped to a language name. The returned string must not be modified and does not need to freed; it will stay valid until the application is terminated.