VLC 4.0.0-dev
Loading...
Searching...
No Matches
demux.h File Reference
Include dependency graph for demux.h:

Go to the source code of this file.

Functions

demux_tdemux_NewAdvanced (vlc_object_t *p_obj, input_thread_t *p_parent_input, const char *psz_demux, const char *url, stream_t *s, es_out_t *out, bool)
 
unsigned demux_TestAndClearFlags (demux_t *, unsigned)
 
int demux_GetTitle (demux_t *)
 
int demux_GetSeekpoint (demux_t *)
 
demux_tdemux_FilterChainNew (demux_t *source, const char *list)
 Builds an explicit chain of demux filters.
 
bool demux_FilterEnable (demux_t *p_demux_chain, const char *psz_demux)
 
bool demux_FilterDisable (demux_t *p_demux_chain, const char *psz_demux)
 

Function Documentation

◆ demux_FilterChainNew()

demux_t * demux_FilterChainNew ( demux_t source,
const char *  list 
)

Builds an explicit chain of demux filters.

This function creates a chain of filters according to a supplied list.

See also stream_FilterChainNew(). Those two functions have identical semantics and ownership rules, except for the use of demux vs stream.

Parameters
sourceinput stream around which to build a filter chain
listcolon-separated list of stream filters (upstream first)
Note
Like stream_FilterAutoNew(), this function takes ownership of the source input stream, and transfers it to the first demux filter in the constructed chain. Any use of the source after the function call is invalid and undefined (unless the chain ends up empty).
Returns
The last demux (filter) in the chain. The return value is always a valid (non-NULL) demux pointer.

References config_ChainCreate(), config_ChainDestroy(), demux_FilterNew(), psz_name, and strdup().

Referenced by ControlInsertDemuxFilter(), and InputSourceInit().

◆ demux_FilterDisable()

bool demux_FilterDisable ( demux_t p_demux_chain,
const char *  psz_demux 
)

References demux_filter_enable_disable().

Referenced by Control().

◆ demux_FilterEnable()

bool demux_FilterEnable ( demux_t p_demux_chain,
const char *  psz_demux 
)

References demux_filter_enable_disable().

Referenced by Control().

◆ demux_GetSeekpoint()

int demux_GetSeekpoint ( demux_t p_demux)

◆ demux_GetTitle()

int demux_GetTitle ( demux_t p_demux)

◆ demux_NewAdvanced()

◆ demux_TestAndClearFlags()

unsigned demux_TestAndClearFlags ( demux_t p_demux,
unsigned  flags 
)