VLC 4.0.0-dev
|
Functions | |
struct vlc_player_title_list * | vlc_player_title_list_Hold (struct vlc_player_title_list *titles) |
Hold the title list of the player. More... | |
void | vlc_player_title_list_Release (struct vlc_player_title_list *titles) |
Release of previously held title list. More... | |
static char * | input_title_GetName (const struct input_title_t *input_title, int idx, int title_offset) |
static char * | seekpoint_GetName (seekpoint_t *seekpoint, int idx, int chapter_offset) |
struct vlc_player_title_list * | vlc_player_title_list_Create (input_title_t *const *array, size_t count, int title_offset, int chapter_offset) |
const struct vlc_player_title * | vlc_player_title_list_GetAt (struct vlc_player_title_list *titles, size_t idx) |
Get the title at a given index. More... | |
size_t | vlc_player_title_list_GetCount (struct vlc_player_title_list *titles) |
Get the number of title of a list. More... | |
|
static |
References _, asprintf(), input_title_t::i_length, MSTRTIME_MAX_SIZE, input_title_t::psz_name, and vlc_tick_to_str().
Referenced by vlc_player_title_list_Create().
|
static |
References _, asprintf(), seekpoint_t::psz_name, and strdup().
Referenced by vlc_player_title_list_Create().
struct vlc_player_title_list * vlc_player_title_list_Create | ( | input_title_t *const * | array, |
size_t | count, | ||
int | title_offset, | ||
int | chapter_offset | ||
) |
References add_overflow, vlc_player_title_list::array, vlc_player_title::chapter_count, vlc_player_title::chapters, count, vlc_player_title_list::count, vlc_player_title::flags, input_title_t::i_flags, input_title_t::i_length, input_title_t::i_seekpoint, seekpoint_t::i_time_offset, input_title_GetName(), vlc_player_title::length, mul_overflow, vlc_player_chapter::name, vlc_player_title::name, vlc_player_title_list::rc, input_title_t::seekpoint, seekpoint_GetName(), vlc_player_chapter::time, vlc_alloc(), vlc_atomic_rc_init(), and vlc_player_title_list_Release().
Referenced by vlc_player_input_HandleTitleEvent().