VLC  4.0.0-dev
Functions | Variables
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()

static void * Manage ( void *  p_object)
static

◆ player_on_state_changed()

static void player_on_state_changed ( vlc_player_t player,
enum vlc_player_state  new_state,
void *  data 
)
static

◆ vlm_ControlInternal()

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

◆ vlm_ControlMediaAdd()

static int vlm_ControlMediaAdd ( vlm_t p_vlm,
vlm_media_t p_cfg,
int64_t *  p_id 
)
static

◆ vlm_ControlMediaChange()

static int vlm_ControlMediaChange ( vlm_t p_vlm,
vlm_media_t p_cfg 
)
static

◆ vlm_ControlMediaClear()

static int vlm_ControlMediaClear ( vlm_t p_vlm)
static

◆ vlm_ControlMediaDel()

static int vlm_ControlMediaDel ( vlm_t p_vlm,
int64_t  id 
)
static

◆ vlm_ControlMediaGet()

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

◆ vlm_ControlMediaGetById()

static vlm_media_sys_t* vlm_ControlMediaGetById ( vlm_t p_vlm,
int64_t  id 
)
static

◆ 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()

static int vlm_ControlMediaInstanceClear ( vlm_t p_vlm,
int64_t  id 
)
static

◆ vlm_ControlMediaInstanceGetByName()

static vlm_media_instance_sys_t* vlm_ControlMediaInstanceGetByName ( vlm_media_sys_t p_media,
const char *  psz_id 
)
static

◆ vlm_ControlMediaInstanceGets()

static int vlm_ControlMediaInstanceGets ( vlm_t p_vlm,
int64_t  id,
vlm_media_instance_t ***  ppp_idsc,
int *  pi_instance 
)
static

◆ 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()

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

◆ 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()

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

◆ vlm_MediaInstanceNew()

static vlm_media_instance_sys_t* vlm_MediaInstanceNew ( vlm_media_sys_t p_media,
const char *  psz_name 
)
static

◆ vlm_OnMediaUpdate()

static int vlm_OnMediaUpdate ( vlm_t p_vlm,
vlm_media_sys_t p_media 
)
static

◆ vlm_vaControlInternal()

static int vlm_vaControlInternal ( vlm_t p_vlm,
int  i_query,
va_list  args 
)
static

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().