VLC 4.0.0-dev
|
Data Structures | |
struct | input_item_parser_id_t |
Functions | |
static void | input_item_parser_InputEvent (input_thread_t *input, const struct vlc_input_event *event, void *parser_) |
input_item_parser_id_t * | input_item_Parse (vlc_object_t *obj, input_item_t *item, const struct input_item_parser_cfg *cfg) |
Parse an item asynchronously. | |
void | input_item_parser_id_Interrupt (input_item_parser_id_t *parser) |
Interrupts & cancels the parsing. | |
void | input_item_parser_id_Release (input_item_parser_id_t *parser) |
Release (and interrupt if needed) a parser. | |
input_item_parser_id_t * input_item_Parse | ( | vlc_object_t * | parent, |
input_item_t * | item, | ||
const struct input_item_parser_cfg * | cfg | ||
) |
Parse an item asynchronously.
parent | the parent obj |
item | the item to parse |
cfg | pointer to a configuration struct, can't be NULL |
References input_item_parser_cfg::cbs, input_item_parser_id_t::cbs, input_item_parser_cfg::cbs_data, INIT_S, input_item_parser_id_t::input, input_Close(), input_Create, input_item_parser_InputEvent(), input_Start(), INPUT_TYPE_PREPARSING, input_item_parser_cfg::interact, input_item_parser_cbs_t::on_ended, vlc_input_thread_callbacks::on_event, input_item_parser_id_t::state, input_item_parser_cfg::subitems, vlc_input_thread_cfg::type, and input_item_parser_id_t::userdata.
Referenced by Parse().
void input_item_parser_id_Interrupt | ( | input_item_parser_id_t * | parser | ) |
Interrupts & cancels the parsing.
parser | the parser to interrupt |
References input_item_parser_id_t::input, and input_Stop().
Referenced by input_item_parser_id_Release().
void input_item_parser_id_Release | ( | input_item_parser_id_t * | parser | ) |
Release (and interrupt if needed) a parser.
parser | the parser returned by input_item_Parse |
References input_item_parser_id_t::input, input_Close(), and input_item_parser_id_Interrupt().
Referenced by Parse().
|
static |
References vlc_input_event_attachments::array, vlc_input_event::attachments, input_item_parser_id_t::cbs, vlc_input_event_attachments::count, END_S, INPUT_EVENT_ATTACHMENTS, INPUT_EVENT_DEAD, INPUT_EVENT_STATE, INPUT_EVENT_SUBITEMS, INPUT_EVENT_TIMES, input_GetItem(), input_GetItemDuration(), input_item_SetDuration(), vlc_input_event_times::length, input_item_parser_cbs_t::on_attachments_added, input_item_parser_cbs_t::on_ended, input_item_parser_cbs_t::on_subtree_added, input_item_parser_id_t::state, vlc_input_event::subitems, vlc_input_event::times, vlc_input_event::type, input_item_parser_id_t::userdata, VLC_EGENERIC, and VLC_SUCCESS.
Referenced by input_item_Parse().