25 #define VLC_ES_OUT_H 1
44 ES_OUT_SET_ES_DEFAULT,
67 ES_OUT_SET_NEXT_DISPLAY_TIME,
69 ES_OUT_SET_GROUP_META,
76 ES_OUT_SET_ES_SCRAMBLED_STATE,
89 ES_OUT_GET_PCR_SYSTEM,
90 ES_OUT_MODIFY_PCR_SYSTEM,
93 ES_OUT_PRIVATE_START = 0x10000,
99 int (*pf_send) ( es_out_t *, es_out_id_t *,
block_t * );
100 void (*pf_del) ( es_out_t *, es_out_id_t * );
101 int (*pf_control)( es_out_t *,
int i_query, va_list );
102 void (*pf_destroy)( es_out_t * );
110 return out->pf_add( out, fmt );
113 static inline void es_out_Del(
es_out_t *out, es_out_id_t *
id )
115 out->pf_del( out,
id );
118 static inline int es_out_Send(
es_out_t *out, es_out_id_t *
id,
121 return out->pf_send( out,
id, p_block );
124 static inline int es_out_vaControl(
es_out_t *out,
int i_query, va_list args )
126 return out->pf_control( out, i_query, args );
129 static inline int es_out_Control(
es_out_t *out,
int i_query, ... )
134 va_start( args, i_query );
135 i_result = es_out_vaControl( out, i_query, args );
140 static inline void es_out_Delete(
es_out_t *p_out )
142 p_out->pf_destroy( p_out );
145 static inline int es_out_ControlSetMeta(
es_out_t *out,
const vlc_meta_t *p_meta )
147 return es_out_Control( out, ES_OUT_SET_META, p_meta );
152 return es_out_Control( out, ES_OUT_GET_PCR_SYSTEM, pi_system, pi_delay );
154 static inline int es_out_ControlModifyPcrSystem(
es_out_t *out,
bool b_absolute,
mtime_t i_system )
156 return es_out_Control( out, ES_OUT_MODIFY_PCR_SYSTEM, b_absolute, i_system );
Definition: vlc_es_out.h:96
int64_t mtime_t
Definition: vlc_common.h:153
Definition: vlc_block.h:102