VLC 4.0.0-dev
|
int vlc_player_GetFirstSelectedTrackId | ( | const vlc_player_track_vector * | tracks | ) |
|
static |
References asprintf(), and strdup().
Referenced by vlc_player_program_New(), and vlc_player_program_Update().
struct vlc_player_program * vlc_player_program_New | ( | int | id, |
const char * | name | ||
) |
int vlc_player_program_Update | ( | struct vlc_player_program * | prgm, |
int | id, | ||
const char * | name | ||
) |
References vlc_player_program::name, name, VLC_ENOMEM, vlc_player_program_DupTitle(), and VLC_SUCCESS.
Referenced by vlc_player_input_HandleProgramEvent().
struct vlc_player_program * vlc_player_program_vector_FindById | ( | vlc_player_program_vector * | vec, |
int | id, | ||
size_t * | idx | ||
) |
References vlc_player_program_vector::data, vlc_player_program::group_id, and vlc_player_program_vector::size.
Referenced by vlc_player_GetProgram(), vlc_player_input_HandleProgramEvent(), and vlc_player_SelectProgram().
void vlc_player_track_priv_Delete | ( | struct vlc_player_track_priv * | trackpriv | ) |
References es_format_Clean(), vlc_player_track::es_id, vlc_player_track::fmt, vlc_player_track::name, vlc_player_track_priv::t, and vlc_es_id_Release().
Referenced by vlc_player_input_HandleEsEvent(), and vlc_player_track_Delete().
struct vlc_player_track_priv * vlc_player_track_priv_New | ( | vlc_es_id_t * | id, |
const char * | name, | ||
const es_format_t * | fmt | ||
) |
References vlc_player_track_priv::delay, es_format_Copy(), vlc_player_track::es_id, vlc_player_track::fmt, vlc_player_track::name, name, vlc_player_track::selected, vlc_player_track_priv::selected_by_user, strdup(), vlc_player_track_priv::t, vlc_es_id_Hold(), VLC_SUCCESS, VLC_TICK_MAX, VLC_VOUT_ORDER_NONE, vlc_player_track_priv::vout, and vlc_player_track_priv::vout_order.
Referenced by vlc_player_input_HandleEsEvent(), and vlc_player_track_Dup().
int vlc_player_track_priv_Update | ( | struct vlc_player_track_priv * | trackpriv, |
const char * | name, | ||
const es_format_t * | fmt | ||
) |
References es_format_Clean(), es_format_Copy(), vlc_player_track::fmt, vlc_player_track::name, name, strdup(), vlc_player_track_priv::t, VLC_ENOMEM, and VLC_SUCCESS.
Referenced by vlc_player_input_HandleEsEvent().
struct vlc_player_track_priv * vlc_player_track_vector_FindById | ( | vlc_player_track_vector * | vec, |
vlc_es_id_t * | id, | ||
size_t * | idx | ||
) |