![]() |
libgpac
Documentation of the core library of GPAC. For more information, check out http://gpac.wp.mines-telecom.fr
|
#include <gpac/setup.h>
Functions | |
u32 | gf_lang_get_count () |
s32 | gf_lang_find (const char *lang_or_rfc_5646_code) |
const char * | gf_lang_get_name (u32 lang_idx) |
const char * | gf_lang_get_2cc (u32 lang_idx) |
const char * | gf_lang_get_3cc (u32 lang_idx) |
u32 gf_lang_get_count | ( | ) |
Gets number of supported language codes
s32 gf_lang_find | ( | const char * | lang_or_rfc_5646_code | ) |
Finds language by name or code
lang_or_rfc_5646_code | the langauage name, ISO 639 code or RFC 5646 code |
const char* gf_lang_get_name | ( | u32 | lang_idx | ) |
Gets the langauge name for the given index
lang_idx | the langauge 0-based IDX |
const char* gf_lang_get_2cc | ( | u32 | lang_idx | ) |
Gets the 2 character code for the given index
lang_idx | the langauge 0-based IDX |
const char* gf_lang_get_3cc | ( | u32 | lang_idx | ) |
Gets the 3 character code for the given index
lang_idx | the langauge 0-based IDX |