62 int (*pf_control)(
demux_t *,
int i_query, va_list args);
68 unsigned int i_update;
107 DEMUX_GET_TITLE_INFO,
124 DEMUX_SET_NEXT_DEMUX_TIME,
130 DEMUX_HAS_UNSUPPORTED_META,
133 DEMUX_GET_ATTACHMENTS,
139 DEMUX_SET_RECORD_STATE,
144 DEMUX_CAN_PAUSE = 0x1000,
145 DEMUX_SET_PAUSE_STATE,
151 DEMUX_CAN_CONTROL_PACE,
156 DEMUX_CAN_CONTROL_RATE,
171 VLC_API
int demux_vaControlHelper(
stream_t *, int64_t i_start, int64_t i_end, int64_t i_bitrate,
int i_align,
int i_query, va_list args );
178 static inline bool demux_IsPathExtension(
demux_t *p_demux,
const char *psz_extension )
180 const char *name = (p_demux->psz_file != NULL) ? p_demux->psz_file
181 : p_demux->psz_location;
182 const char *psz_ext = strrchr ( name,
'.' );
183 if( !psz_ext || strcasecmp( psz_ext, psz_extension ) )
189 static inline bool demux_IsForced(
demux_t *p_demux,
const char *psz_name )
191 if( !p_demux->psz_demux || strcmp( p_demux->psz_demux, psz_name ) )
217 #define DEMUX_INIT_COMMON() do { \
218 p_demux->pf_control = Control; \
219 p_demux->pf_demux = Demux; \
220 p_demux->p_sys = calloc( 1, sizeof( demux_sys_t ) ); \
221 if( !p_demux->p_sys ) return VLC_ENOMEM;\
Definition: vlc_demux.h:41
Definition: vlc_es_out.h:96
VLC_API void demux_PacketizerDestroy(decoder_t *p_packetizer)
Definition: vlc_stream.h:52
Definition: vlc_codec.h:52
VLC_API decoder_t * demux_PacketizerNew(demux_t *p_demux, es_format_t *p_fmt, const char *psz_msg) VLC_USED
VLC_API input_thread_t * demux_GetParentInput(demux_t *p_demux) VLC_USED