VLC  2.1.0-git
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
stream_filter.c File Reference
Include dependency graph for stream_filter.c:

Functions

static void StreamDelete (stream_t *)
stream_tstream_FilterNew (stream_t *p_source, const char *psz_stream_filter)
 This function creates a new stream_t filter.
stream_tstream_FilterChainNew (stream_t *p_source, const char *psz_chain, bool b_record)
 This function creates a chain of filters:

Function Documentation

stream_t* stream_FilterChainNew ( stream_t p_source,
const char *  psz_chain,
bool  b_record 
)

This function creates a chain of filters:

  • first, automatic probed stream filters are inserted.
  • then, optional user filters (configured by psz_chain) are inserted.
  • finaly, an optional record filter is inserted if b_record is true.

You must release the returned value using stream_Delete unless it is used as a source to another filter.

References msg_Dbg, msg_Warn, strdup(), and stream_FilterNew().

Referenced by InputSourceInit().

static void StreamDelete ( stream_t s)
static