Data Fields | |
const char * | keyword |
const char * | backend |
const char * | label |
const char * | tooltip |
const char * | mime_type |
const char * | extension |
uint8_t | min_elementary [16] |
uint8_t | max_elementary [16] |
unsigned int | flags |
const char* rte_context_info::keyword |
Uniquely identifies the context, may be stored in a config file. The keyword should include a backend identifier to keep the namespace clean, e. g. "mybackend_mpeg1". As all keywords, the string must consist of ASCII upper- and lowercase, digits and underscore only, is otherwise arbitrary.
const char* rte_context_info::backend |
Uniquely identifies the backend (like "foobarlib 1.2.3"), not internationalized because a proper name. This may be used in the user interface. Only ASCII permitted.
const char* rte_context_info::label |
label
is a name for the context to be presented to the user, can be localized with dgettext("rte", label).
const char* rte_context_info::tooltip |
Gives additional info for the user, also localized. This pointer can be NULL
.
const char* rte_context_info::mime_type |
Gives a MIME type for the created file if applicable, otherwise NULL
. Example: "video/x-mpeg".
const char* rte_context_info::extension |
Suggests filename extensions to use. Can be NULL
, and can contain multiple strings separated by comma. The first string is preferred. Example: "mpg,mpeg".
uint8_t rte_context_info::min_elementary[16] |
min_elementary
and max_elementary
are the required and permitted number of elementary streams of each rte_stream_type. For example min_elementary [RTE_STREAM_VIDEO] = 0 and max_elementary [RTE_STREAM_VIDEO] = 32 means: The file format requires no video elementary stream and permits at most 32. You can only rte_set_codec() codecs for elementary stream 0 ... max_elementary[] - 1. Implied is the rule that each context requires at least one codec / elementary stream, regardless of the min_elementary[] values.
unsigned int rte_context_info::flags |
A set of RTE_FLAG_SEEK et al values.