VLC 4.0.0-dev
vlm.c File Reference
Include dependency graph for vlm.c:

Functions

static void * Manage (void *)
 
static void player_on_state_changed (vlc_player_t *player, enum vlc_player_state new_state, void *data)
 
vlm_tvlm_New (libvlc_int_t *libvlc, const char *psz_vlmconf)
 
void vlm_Delete (vlm_t *p_vlm)
 
int vlm_ExecuteCommand (vlm_t *p_vlm, const char *psz_command, vlm_message_t **pp_message)
 
static vlm_media_sys_tvlm_ControlMediaGetById (vlm_t *p_vlm, int64_t id)
 
static vlm_media_sys_tvlm_ControlMediaGetByName (vlm_t *p_vlm, const char *psz_name)
 
static int vlm_MediaDescriptionCheck (vlm_t *p_vlm, vlm_media_t *p_cfg)
 
static int vlm_OnMediaUpdate (vlm_t *p_vlm, vlm_media_sys_t *p_media)
 
static int vlm_ControlMediaChange (vlm_t *p_vlm, vlm_media_t *p_cfg)
 
static int vlm_ControlMediaAdd (vlm_t *p_vlm, vlm_media_t *p_cfg, int64_t *p_id)
 
static int vlm_ControlMediaDel (vlm_t *p_vlm, int64_t id)
 
static int vlm_ControlMediaGets (vlm_t *p_vlm, vlm_media_t ***ppp_dsc, int *pi_dsc)
 
static int vlm_ControlMediaClear (vlm_t *p_vlm)
 
static int vlm_ControlMediaGet (vlm_t *p_vlm, int64_t id, vlm_media_t **pp_dsc)
 
static int vlm_ControlMediaGetId (vlm_t *p_vlm, const char *psz_name, int64_t *p_id)
 
static vlm_media_instance_sys_tvlm_ControlMediaInstanceGetByName (vlm_media_sys_t *p_media, const char *psz_id)
 
static vlm_media_instance_sys_tvlm_MediaInstanceNew (vlm_media_sys_t *p_media, const char *psz_name)
 
static void vlm_MediaInstanceDelete (vlm_t *p_vlm, int64_t id, vlm_media_instance_sys_t *p_instance, vlm_media_sys_t *p_media)
 
static int vlm_ControlMediaInstanceStart (vlm_t *p_vlm, int64_t id, const char *psz_id, int i_input_index)
 
static int vlm_ControlMediaInstanceStop (vlm_t *p_vlm, int64_t id, const char *psz_id)
 
static int vlm_ControlMediaInstancePause (vlm_t *p_vlm, int64_t id, const char *psz_id)
 
static int vlm_ControlMediaInstanceGetTimePosition (vlm_t *p_vlm, int64_t id, const char *psz_id, int64_t *pi_time, double *pd_position)
 
static int vlm_ControlMediaInstanceSetTimePosition (vlm_t *p_vlm, int64_t id, const char *psz_id, int64_t i_time, double d_position)
 
static int vlm_ControlMediaInstanceGets (vlm_t *p_vlm, int64_t id, vlm_media_instance_t ***ppp_idsc, int *pi_instance)
 
static int vlm_ControlMediaInstanceClear (vlm_t *p_vlm, int64_t id)
 
static int vlm_ControlScheduleClear (vlm_t *p_vlm)
 
static int vlm_vaControlInternal (vlm_t *p_vlm, int i_query, va_list args)
 
int vlm_ControlInternal (vlm_t *p_vlm, int i_query,...)
 
int vlm_Control (vlm_t *p_vlm, int i_query,...)
 

Variables

static vlc_mutex_t vlm_mutex = { .value = ATOMIC_VAR_INIT(0), .recursion = ATOMIC_VAR_INIT(0), .owner = ATOMIC_VAR_INIT(0), }
 

Function Documentation

◆ Manage()

◆ player_on_state_changed()

◆ vlm_ControlInternal()

int vlm_ControlInternal ( vlm_t p_vlm,
int  i_query,
  ... 
)

◆ vlm_ControlMediaAdd()

◆ vlm_ControlMediaChange()

◆ vlm_ControlMediaClear()

static int vlm_ControlMediaClear ( vlm_t p_vlm)
static

◆ vlm_ControlMediaDel()

◆ vlm_ControlMediaGet()

static int vlm_ControlMediaGet ( vlm_t p_vlm,
int64_t  id,
vlm_media_t **  pp_dsc 
)
static

◆ vlm_ControlMediaGetById()

◆ vlm_ControlMediaGetByName()

static vlm_media_sys_t * vlm_ControlMediaGetByName ( vlm_t p_vlm,
const char *  psz_name 
)
static

◆ vlm_ControlMediaGetId()

static int vlm_ControlMediaGetId ( vlm_t p_vlm,
const char *  psz_name,
int64_t *  p_id 
)
static

◆ vlm_ControlMediaGets()

static int vlm_ControlMediaGets ( vlm_t p_vlm,
vlm_media_t ***  ppp_dsc,
int *  pi_dsc 
)
static

◆ vlm_ControlMediaInstanceClear()

◆ vlm_ControlMediaInstanceGetByName()

◆ vlm_ControlMediaInstanceGets()

◆ vlm_ControlMediaInstanceGetTimePosition()

static int vlm_ControlMediaInstanceGetTimePosition ( vlm_t p_vlm,
int64_t  id,
const char *  psz_id,
int64_t *  pi_time,
double *  pd_position 
)
static

◆ vlm_ControlMediaInstancePause()

static int vlm_ControlMediaInstancePause ( vlm_t p_vlm,
int64_t  id,
const char *  psz_id 
)
static

◆ vlm_ControlMediaInstanceSetTimePosition()

static int vlm_ControlMediaInstanceSetTimePosition ( vlm_t p_vlm,
int64_t  id,
const char *  psz_id,
int64_t  i_time,
double  d_position 
)
static

◆ vlm_ControlMediaInstanceStart()

◆ vlm_ControlMediaInstanceStop()

static int vlm_ControlMediaInstanceStop ( vlm_t p_vlm,
int64_t  id,
const char *  psz_id 
)
static

◆ vlm_ControlScheduleClear()

static int vlm_ControlScheduleClear ( vlm_t p_vlm)
static

◆ vlm_MediaDescriptionCheck()

static int vlm_MediaDescriptionCheck ( vlm_t p_vlm,
vlm_media_t p_cfg 
)
static

◆ vlm_MediaInstanceDelete()

◆ vlm_MediaInstanceNew()

◆ vlm_OnMediaUpdate()

static int vlm_OnMediaUpdate ( vlm_t p_vlm,
vlm_media_sys_t p_media 
)
static

◆ vlm_vaControlInternal()

Variable Documentation

◆ vlm_mutex

vlc_mutex_t vlm_mutex = { .value = ATOMIC_VAR_INIT(0), .recursion = ATOMIC_VAR_INIT(0), .owner = ATOMIC_VAR_INIT(0), }
static

Referenced by vlm_Delete(), and vlm_New().