118 const char *psz_instance_name;
233 p_dst->
id = p_src->
id;
238 for( i = 0; i < p_src->
i_input; i++ )
240 for( i = 0; i < p_src->
i_option; i++ )
259 for( i = 0; i < p_media->
i_input; i++ )
263 for( i = 0; i < p_media->
i_option; i++ )
318 p_instance->
f_rate = 1.0f;
#define VLC_API
Definition: fourcc_gen.c:31
#define VLC_FORMAT(x, y)
String format function annotation.
Definition: vlc_common.h:204
vlm_message_t * vlm_MessageSimpleNew(const char *)
Definition: missing.c:206
vlm_t * vlm_New(libvlc_int_t *, const char *path)
Definition: vlm.c:110
static void vlm_media_instance_Clean(vlm_media_instance_t *p_instance)
Cleanup vlm_media_instance_t.
Definition: vlc_vlm.h:326
vlm_state_e
Definition: vlc_vlm.h:105
vlm_message_t * vlm_MessageNew(const char *, const char *,...)
Definition: missing.c:212
static vlm_media_instance_t * vlm_media_instance_New(void)
Allocate a new vlm_media_instance_t.
Definition: vlc_vlm.h:335
static void vlm_media_Delete(vlm_media_t *p_media)
Delete a vlm_media_t instance.
Definition: vlc_vlm.h:287
static void vlm_media_Clean(vlm_media_t *p_media)
Cleanup and release memory associated with this vlm_media_t instance.
Definition: vlc_vlm.h:255
vlm_message_t * vlm_MessageAdd(vlm_message_t *, vlm_message_t *)
Definition: missing.c:193
static vlm_media_t * vlm_media_Duplicate(vlm_media_t *p_src)
Copy a vlm_media_t instance.
Definition: vlc_vlm.h:298
static void vlm_media_Copy(vlm_media_t *restrict p_dst, const vlm_media_t *restrict p_src)
Copy a vlm_media_t instance into another vlm_media_t instance.
Definition: vlc_vlm.h:226
void vlm_MessageDelete(vlm_message_t *)
Definition: missing.c:200
int vlm_Control(vlm_t *p_vlm, int i_query,...)
Definition: vlm.c:981
static vlm_media_t * vlm_media_New(void)
Allocate a new vlm_media_t instance.
Definition: vlc_vlm.h:275
static void vlm_media_instance_Delete(vlm_media_instance_t *p_instance)
Delete a vlm_media_instance_t.
Definition: vlc_vlm.h:347
void vlm_Delete(vlm_t *)
Definition: vlm.c:184
vlm_query_e
VLM control query.
Definition: vlc_vlm.h:125
static void vlm_media_instance_Init(vlm_media_instance_t *p_instance)
Initialize vlm_media_instance_t.
Definition: vlc_vlm.h:311
vlm_event_type_e
VLM events You can catch vlm event by adding a callback on the variable "intf-event" of the VLM objec...
Definition: vlc_vlm.h:92
int vlm_ExecuteCommand(vlm_t *, const char *, vlm_message_t **)
Definition: vlm.c:225
static void vlm_media_Init(vlm_media_t *p_media)
Initialize a vlm_media_t instance.
Definition: vlc_vlm.h:207
@ VLM_END_S
Definition: vlc_vlm.h:110
@ VLM_ERROR_S
Definition: vlc_vlm.h:111
@ VLM_INIT_S
Definition: vlc_vlm.h:106
@ VLM_PAUSE_S
Definition: vlc_vlm.h:109
@ VLM_PLAYING_S
Definition: vlc_vlm.h:108
@ VLM_OPENING_S
Definition: vlc_vlm.h:107
@ VLM_PAUSE_MEDIA_INSTANCE
Definition: vlc_vlm.h:153
@ VLM_DEL_MEDIA
Definition: vlc_vlm.h:135
@ VLM_GET_MEDIA_INSTANCE_TIME
Definition: vlc_vlm.h:155
@ VLM_SET_MEDIA_INSTANCE_POSITION
Definition: vlc_vlm.h:161
@ VLM_GET_MEDIAS
Definition: vlc_vlm.h:128
@ VLM_ADD_MEDIA
Definition: vlc_vlm.h:133
@ VLM_CLEAR_SCHEDULES
Definition: vlc_vlm.h:164
@ VLM_GET_MEDIA_INSTANCES
Definition: vlc_vlm.h:145
@ VLM_SET_MEDIA_INSTANCE_TIME
Definition: vlc_vlm.h:157
@ VLM_CLEAR_MEDIA_INSTANCES
Definition: vlc_vlm.h:147
@ VLM_GET_MEDIA
Definition: vlc_vlm.h:139
@ VLM_GET_MEDIA_INSTANCE_POSITION
Definition: vlc_vlm.h:159
@ VLM_GET_MEDIA_ID
Definition: vlc_vlm.h:141
@ VLM_STOP_MEDIA_INSTANCE
Definition: vlc_vlm.h:151
@ VLM_CHANGE_MEDIA
Definition: vlc_vlm.h:137
@ VLM_CLEAR_MEDIAS
Definition: vlc_vlm.h:130
@ VLM_START_MEDIA_BROADCAST_INSTANCE
Definition: vlc_vlm.h:149
@ VLM_EVENT_MEDIA_REMOVED
Definition: vlc_vlm.h:95
@ VLM_EVENT_MEDIA_INSTANCE_STOPPED
Definition: vlc_vlm.h:100
@ VLM_EVENT_MEDIA_CHANGED
Definition: vlc_vlm.h:96
@ VLM_EVENT_MEDIA_INSTANCE_STARTED
Definition: vlc_vlm.h:99
@ VLM_EVENT_MEDIA_INSTANCE_STATE
Definition: vlc_vlm.h:101
@ VLM_EVENT_MEDIA_ADDED
Definition: vlc_vlm.h:94
int i_type
Definition: httpd.c:1282
Definition: vlc_objects.h:91
Definition: vlc_vlm.h:115
int i_type
Definition: vlc_vlm.h:116
const char * psz_name
Definition: vlc_vlm.h:118
int64_t id
Definition: vlc_vlm.h:117
const char * psz_instance_name
Definition: vlc_vlm.h:119
vlm_state_e input_state
Definition: vlc_vlm.h:120
Definition: vlc_vlm.h:178
vlm_message_t ** child
Definition: vlc_vlm.h:183
int i_child
Definition: vlc_vlm.h:182
char * psz_value
Definition: vlc_vlm.h:180
char * psz_name
Definition: vlc_vlm.h:179
Definition: vlm_internal.h:78
const char * psz_name
Definition: text_style.c:33
This file defines functions, structures and macros for handling arrays in vlc.
#define TAB_CLEAN(count, tab)
Definition: vlc_arrays.h:61
#define TAB_INIT(count, tab)
Definition: vlc_arrays.h:55
#define TAB_APPEND_CAST(cast, count, tab, p)
Definition: vlc_arrays.h:68
This file is a collection of common definitions and types.
char * strdup(const char *)