| #define DEMUX_INIT_COMMON | ( | ) |
do { \ p_demux->pf_control = Control; \ p_demux->pf_demux = Demux; \ p_demux->p_sys = calloc( 1, sizeof( demux_sys_t ) ); \ if( !p_demux->p_sys ) return VLC_ENOMEM;\ } while(0)
| typedef struct demux_meta_t demux_meta_t |
| enum demux_query_e |
| input_thread_t* demux_GetParentInput | ( | demux_t * | p_demux | ) |
This function will return the parent input of this demux.
It is retained. Can return NULL.
References demux_t::p_input, and vlc_object_hold.
| static bool demux_IsForced | ( | demux_t * | p_demux, | |
| const char * | psz_name | |||
| ) | [inline, static] |
References demux_t::psz_demux.
| static bool demux_IsPathExtension | ( | demux_t * | p_demux, | |
| const char * | psz_extension | |||
| ) | [inline, static] |
References psz_ext, demux_t::psz_file, and strcasecmp().
| void demux_PacketizerDestroy | ( | decoder_t * | p_packetizer | ) |
This function will destroy a packetizer create by demux_PacketizerNew.
References es_format_Clean(), decoder_t::fmt_in, module_unneed, decoder_t::p_description, decoder_t::p_module, vlc_meta_Delete(), and vlc_object_release.
| decoder_t* demux_PacketizerNew | ( | demux_t * | p_demux, | |
| es_format_t * | p_fmt, | |||
| const char * | psz_msg | |||
| ) |
This function will create a packetizer suitable for a demuxer that parses elementary stream.
The provided es_format_t will be cleaned on error or by demux_PacketizerDestroy.
References es_format_t::b_packetized, es_format_Clean(), es_format_Init(), decoder_t::fmt_in, decoder_t::fmt_out, module_need, msg_Err, decoder_t::p_module, decoder_t::pf_decode_audio, decoder_t::pf_decode_sub, decoder_t::pf_decode_video, decoder_t::pf_packetize, UNKNOWN_ES, vlc_custom_create, and vlc_object_release.
| 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 | |||
| ) |
< No error
< Unspecified error
< No error
< Unspecified error
< No error
< Unspecified error
< Unspecified error
< No error
< Unspecified error
< Unspecified error
< No error
< Unspecified error
< Unspecified error
< Unspecified error
References DEMUX_CAN_RECORD, DEMUX_GET_ATTACHMENTS, DEMUX_GET_FPS, DEMUX_GET_LENGTH, DEMUX_GET_META, DEMUX_GET_POSITION, DEMUX_GET_PTS_DELAY, DEMUX_GET_TIME, DEMUX_GET_TITLE_INFO, DEMUX_HAS_UNSUPPORTED_META, DEMUX_SET_GROUP, DEMUX_SET_NEXT_DEMUX_TIME, DEMUX_SET_POSITION, DEMUX_SET_RECORD_STATE, DEMUX_SET_TIME, msg_Err, stream_Seek(), stream_Size(), and stream_Tell().
1.7.1