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

Data Structures

struct  stream_sys_t

Functions

static int DStreamRead (stream_t *, void *p_read, unsigned int i_read)
static int DStreamPeek (stream_t *, const uint8_t **pp_peek, unsigned int i_peek)
static int DStreamControl (stream_t *, int i_query, va_list)
static void DStreamDelete (stream_t *)
static void * DStreamThread (void *)
stream_tstream_DemuxNew (demux_t *p_demux, const char *psz_demux, es_out_t *out)
 Create a special stream and a demuxer, this allows chaining demuxers You must delete it using stream_Delete.
void stream_DemuxSend (stream_t *s, block_t *p_block)
 Send data to a stream handle created by stream_DemuxNew().
int stream_DemuxControlVa (stream_t *s, int query, va_list args)
 Perform a demux (i.e.

Function Documentation

static int DStreamControl ( stream_t s,
int  i_query,
va_list  args 
)
static

< No error

< No error

< No error

< No error

< Unspecified error

< Unspecified error

< No error

< Unspecified error

< Unspecified error

References DStreamRead(), stream_sys_t::i_pos, msg_Err, stream_t::p_sys, STREAM_CAN_FASTSEEK, STREAM_CAN_SEEK, STREAM_CONTROL_ACCESS, STREAM_GET_CONTENT_TYPE, STREAM_GET_POSITION, STREAM_GET_SIZE, STREAM_SET_POSITION, STREAM_SET_RECORD_STATE, VLC_EGENERIC, and VLC_SUCCESS.

Referenced by stream_DemuxNew().

static void DStreamDelete ( stream_t s)
static
static int DStreamPeek ( stream_t s,
const uint8_t **  pp_peek,
unsigned int  i_peek 
)
static
static int DStreamRead ( stream_t s,
void *  p_read,
unsigned int  i_read 
)
static
static void * DStreamThread ( void *  obj)
static