|
libquvi
|
#include "config.h"#include <glib/gi18n-lib.h>#include <glib.h>#include "quvi.h"#include "_quvi_s.h"#include "_quvi_subtitle_s.h"#include "misc/re.h"Functions | |
| const quvi_subtitle_lang_t | quvi_subtitle_select (quvi_subtitle_t handle, const char *id) |
| Select a sub_lang matching a sub_lang_id. More... | |
| const quvi_subtitle_lang_t quvi_subtitle_select | ( | quvi_subtitle_t | handle, |
| const char * | id | ||
| ) |
Select a sub_lang matching a sub_lang_id.
Matches the sub_lang_id (pattern) to the available subtitle language IDs and selects the language. This function returns immediately if a matching ID was found. The ID value may be a comma-separated value (e.g. "foo,bar,baz"). The ID may also contain the keyword 'croak' (see the notes below).