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

Functions

input_source_tinput_source_Hold (input_source_t *in)
 Hold the input_source_t.
 
void input_source_Release (input_source_t *in)
 Release the input_source_t.
 
const char * input_source_GetStrId (input_source_t *in)
 Returns the string identifying this input source.
 
int input_source_GetNewAutoId (input_source_t *in)
 Get a new fmt.i_id from the input source.
 
bool input_source_IsAutoSelected (input_source_t *in)
 Returns true if a given source should be auto-selected.
 

Function Documentation

◆ input_source_GetNewAutoId()

int input_source_GetNewAutoId ( input_source_t in)

Get a new fmt.i_id from the input source.

This auto id will be relative to this input source. It allows to have stable ids across different playback instances, by not relying on the input source addition order.

References input_source_t::auto_id.

Referenced by EsOutAddLocked().

◆ input_source_GetStrId()

const char * input_source_GetStrId ( input_source_t in)

Returns the string identifying this input source.

Returns
a string id or NULL if the source is the master

References input_source_t::str_id.

Referenced by EsOutAddLocked().

◆ input_source_Hold()

◆ input_source_IsAutoSelected()

bool input_source_IsAutoSelected ( input_source_t in)

Returns true if a given source should be auto-selected.

References input_source_t::autoselected.

Referenced by EsOutSelect().

◆ input_source_Release()