| #define DEMUX_INIT_COMMON | ( | ) |
Value:
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)
Referenced by Open().
| 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.
Referenced by Demux(), GetCurrentItem(), and Open().
| static bool demux_IsForced | ( | demux_t * | p_demux, | |
| const char * | psz_name | |||
| ) | [inline, static] |
Referenced by AacProbe(), GenericProbe(), Import_ASX(), Import_M3U(), Import_PLS(), Import_podcast(), Import_Shoutcast(), Import_WPL(), Import_ZPL(), and MpgaProbe().
| static bool demux_IsPathExtension | ( | demux_t * | p_demux, | |
| const char * | psz_extension | |||
| ) | [inline, static] |
Referenced by AacProbe(), Import_ASX(), Import_DVB(), Import_M3U(), Import_PLS(), Import_QTL(), Import_RAM(), Import_WPL(), Import_ZPL(), and MpgaProbe().
| 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_object_create, VLC_OBJECT_DECODER, 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 | |||
| ) |
References DEMUX_CAN_RECORD, DEMUX_GET_ATTACHMENTS, DEMUX_GET_FPS, DEMUX_GET_LENGTH, DEMUX_GET_META, DEMUX_GET_POSITION, 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, INT64_C, msg_Err, stream_Seek(), stream_Size(), stream_Tell(), VLC_EGENERIC, and VLC_SUCCESS.
Referenced by Control(), and DemuxControl().
1.5.6